struct Bug4106(int Q){} int bug4106 = Bug4106.nonexistent.garbage; ---- crash.d(242): Error: no property 'nonexistent' for type 'void' Error: no property 'garbage' for type 'int' It's a useless, parasitic error anyway. PATCH: expression.c 5877 UnaExp::semantic(sc); + if (e1->op == TOKerror) + return e1; if (e1->op == TOKdotexp)
This was fixed in 2.047, but still exists in 1.062.
Fixed for DMD1 in svn 738.