lambda alias import

JN 666total at wp.pl
Fri Jan 17 21:40:05 UTC 2020


stuff.d:

alias doStuff = () {};

main.d:

import stuff;

void main()
{
   doStuff();
}


DMD throws compile error:

  Error 42: Symbol Undefined __D5stuff9__lambda3FNaNbNiNfZv

Is this expected behavior? It tripped me while trying to use 
DerelictVulkan :(


More information about the Digitalmars-d-learn mailing list