Sorry, i have no sample.
I (and another one) get this when i try to compile the sources of my swt port on linux. DMD 1.005 works, DMD 1.006 gives this error. It is a huge amount of code.
Probably out of memory or something?
If you want, you can checkout tioport at rev 157 and tango at revision at 1717. Go to the tioport dir ports/swt-3.2.1-linux and do a "make example_paint"
Comment #1 by bugzilla — 2007-02-20T03:18:26Z
It may relate to attempting to use:
a.new Foo;
where Foo is not a class nested within a.
Comment #2 by benoit — 2007-02-25T06:31:50Z
Still present with the Bond revision 1.007.
Here comes a sample:
class Adapter {
void func(){
}
}
class Foo {
class AnonAdapter : Adapter {
}
void func(){
Adapter a = cast( Adapter )( new AnonAdapter() );
}
}