www.digitalmars.com         C & C++   DMDScript  

D - [DMD crash] using super in a nested function

if you use 'super' in a nested function , DMD will crash.
I tested in WindowsXP.
------------------------------------------------------
class Foo { void print() {printf("Foo\n");} }
class Bar : Foo {
void test() {
void printFoo() {
super.print();      // DMD crashes here
}
}
}
------------------------------------------------------

yaneurao.
Feb 10 2004