http://d.puremagic.com/issues/show_bug.cgi?id=8023
--- Comment #1 from Leandro Lucarella <leandro.lucare...@sociomantic.com> 2012-05-03 04:22:06 PDT --- Add a test case for this bug. Even when is not reproducible in D2 right now, maybe is a good idea to have the test case anyway so it doesn't fail in the future as D1 does now. https://github.com/D-Programming-Language/dmd/pull/922 This includes also this test case, which is also a regression and it's fixed by the pull request. This testcase doesn't need -inline -release to be reproduced though! m1.d --- module m1; import m2; private void t(alias Code)() { return Code(); } void f() { t!( () { } )(); } bool forceSemantic() { f(); return true; } static assert(forceSemantic()); --- m2.d --- module m2; import m1; --- -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------