When compiling the following code using dmd 2.030: ---- struct Foo { int a; // Commenting this out prevents the assertion } shared Foo foo; ---- I get the following assertion: dmd: cast.c:413: virtual MATCH StructLiteralExp::implicitConvTo(Type*): Assertion `t->mod == 4' failed.
Fixed dmd 2.032