This command results in abnormal program termination with error: Assertion failure: '!vthis->csym' on line 716 in file 'glue.c' COMMAND: ( the order of arguments is significant ) dmd moda.d modb.d moda.d --------------------------------------- import std.algorithm; modb.d --------------------------------------- import std.algorithm; class C { void memberFun() { int local; map!( (a){return local;} )( "" ); } }
Sorry, that message(...line716...) was from git head. D2.059's message is here: Assertion failure: '!vthis->csym' on line 686 in file 'glue.c' In addition, explicit parameter type of delegate literal prevents this error. map!( (dchar a){return local;} )( "" ); // 'dchar' added Environment: Windows XP SP3 32bit
*** This issue has been marked as a duplicate of issue 4481 ***