digitalmars.D.bugs - DMD 0.126 - Nested struct non-static initializer crash thing..
- Jarrett Billingsley (10/10) Jun 08 2005 This causes DMD to crash:
- Thomas Kuehne (12/22) Jun 09 2005 -----BEGIN PGP SIGNED MESSAGE-----
This causes DMD to crash: class A { class B { } B b=new B; } If class B is outside A, or if it is static, it just gives the error that "new B" is not a constant initializer.
Jun 08 2005
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jarrett Billingsley schrieb am Wed, 8 Jun 2005 22:47:15 -0400:This causes DMD to crash: class A { class B { } B b=new B; } If class B is outside A, or if it is static, it just gives the error that "new B" is not a constant initializer.Added to DStress as http://dstress.kuehne.cn/nocompile/n/new_23.d http://dstress.kuehne.cn/nocompile/n/new_24.d Thomas -----BEGIN PGP SIGNATURE----- iD8DBQFCqFc/3w+/yD4P9tIRAgX1AJ97xVXwAxQ3zo5x7lbnTroJ2u5I9QCgts+H jh6NrblslgOvHeYqM07w4/A= =ihPF -----END PGP SIGNATURE-----
Jun 09 2005