[Bug 128] New: DMD crash with static if and anonymous classes

Thomas Kuehne thomas-dloop at kuehne.cn
Wed May 24 09:31:04 PDT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

d-bugmail at puremagic.com schrieb am 2006-05-05:
> The following code causes DMD to crash without printing anything:
>
> class Foo {}
> static if (is(typeof(new class Foo{}))) {}

Added to DStress as
http://dstress.kuehne.cn/compile/c/class_24_A.d
http://dstress.kuehne.cn/compile/c/class_24_B.d

Thomas


-----BEGIN PGP SIGNATURE-----

iD8DBQFEdE6u3w+/yD4P9tIRAmkOAJ0Z0XpVF93SykaDIQcir0o/Fns2yQCfXtlC
NtgsC3NMSO48P6EOmrf+4ww=
=2g10
-----END PGP SIGNATURE-----



More information about the Digitalmars-d-bugs mailing list