D - [BUG] Undefined variable self assignement
- DeadCow (9/9) Sep 03 2003 class A {
class A {
void crash() {}
}
void main() {
A a = a; // 'a' is not defined yet.
a.crash();
}
compiles & crashes
-- Nicolas Repiquet
Sep 03 2003
class A {
void crash() {}
}
void main() {
A a = a; // 'a' is not defined yet.
a.crash();
}
compiles & crashes
-- Nicolas Repiquet