www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - const declaration creshes dmd 0.145

reply "Artem Rebrov" <ar_other mail.ru> writes:
The following declaration causes DMD 0.145 to crash.

const c = 1uL-1;

DMD 0.143 compiles it without errors.  Tested on WinXP SP2.
-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
Feb 06 2006
parent Thomas Kuehne <thomas-dloop kuehne.cn> writes:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Artem Rebrov schrieb am 2006-02-06:
 The following declaration causes DMD 0.145 to crash.

 const c = 1uL-1;

 DMD 0.143 compiles it without errors.  Tested on WinXP SP2.
Added to DStress as http://dstress.kuehne.cn/nocompile/c/const_31.d Thomas -----BEGIN PGP SIGNATURE----- iD8DBQFD7a9H3w+/yD4P9tIRAleOAJ0Zp8SAI2tVDP/aRc1/fZQaLp/9hwCgo0r/ wG0HzP8Stp/EGVhrvdbqheg= =53aE -----END PGP SIGNATURE-----
Feb 11 2006