[Issue 420] mixin make dmd break
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Oct 16 01:02:02 PDT 2006
http://d.puremagic.com/issues/show_bug.cgi?id=420
------- Comment #1 from braddr at puremagic.com 2006-10-16 03:02 -------
This is the same internal error as bug 354 which also deals with template usage
so it might be a dup. The code samples are similar, though definitly not the
same.
I reduced the test case a bit:
import std.stdio;
template MGettor () {
void opCall () {}
}
class Foo {
mixin MGettor!() geta;
}
void main () {
Foo foo = new Foo;
writefln(foo.geta);
}
--
More information about the Digitalmars-d-bugs
mailing list