www.digitalmars.com         C & C++   DMDScript  

D - [BUG] Undefined variable self assignement

class A {
  void crash() {}
}

void main() {

  A a = a; // 'a' is not defined yet.

  a.crash();

}

compiles & crashes

-- Nicolas Repiquet
Sep 03 2003