Found in Phobos. It's crashing while printing an error message. Error message was printed correctly in 2.052 and earlier. ============ template curry(alias fun) { int curry(int arg) { return fun(arg, 5); } } void foo() { int f2(int a, int b) { return a + b; } enum xe = 5; enum fe = &curry!(f2); static assert(fe(6) == 11); }
https://github.com/D-Programming-Language/dmd/commit/9777c79fc0ec5aa23011403e8e2a396805565fda https://github.com/D-Programming-Language/dmd/commit/edaf61a026bc5fbce61d47ba0d02cf43d65a326d