Thanks, but the following code still breaks:
// ---
template Foo(alias f) {
void foo() {
f();
}
}
class Bar {
mixin Foo!( function { } );
}
void main() {}
// ---
dmd issue211.d && issue211
OPTLINK (R) for Win32 Release 8.00.1
Copyright (C) Digital Mars 1989-2004 All rights reserved.
issue211.obj(issue211)
Error 42: Symbol Undefined _D8issue2113Bar14__funcliteral1MFZv
I hope it's fine to reopen the issue. I can submit a new one if that's not a good option ;)
Comment #4 by bugzilla — 2008-07-12T00:36:40Z
If the original test case works now, then it is a new bug and should be filed as such.