This code crashes the dmd V.2.042: struct Foo { int x; this(this) { x++; } } int bar() { Foo f; f = f; assert(f.x == 1); return 0; } enum _ = bar(); void main() {}
changeset 429
Fixed DMD 2.043.