https://issues.dlang.org/show_bug.cgi?id=13742
[email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #2 from [email protected] --- I hit this on Windows. Reduced test case is here. COMMAND: dmd -cov -g -c test.d f.d dmd -cov -g -main test.obj f.obj OUTPUT: Error 42: Symbol Undefined ___coverage --- errorlevel 1 SOURCE FILES: f.d --------------------- import std.algorithm; void func(alias pred)() { int[] range; range.find!pred(0); } --------------------- test.d --------------------- import f; enum mypred = (int a, int b)=>false; //bool mypred(int a, int b) { return false; } -- WORK AROUND void test() { func!mypred(); } --------------------- --
