lambda alias import

Ali Çehreli acehreli at yahoo.com
Sat Jan 18 00:12:18 UTC 2020


On 1/17/20 3:04 PM, Petar Kirov [ZombineDev] wrote:> On Friday, 17 
January 2020 at 21:40:05 UTC, JN wrote:

 > I think the problem comes from the way you compile and link your code. I
 > you compile both modules together like this it should work out:
 >
 > dmd -ofresult main.d stuff.d

If that's the solution, some people may find a relatively less known dmd 
command line switch useful: -i:

   -i[=<pattern>]    include imported modules in the compilation

Ali



More information about the Digitalmars-d-learn mailing list