[Issue 223] Error message for unset constants doesn't specify error location

Thomas Kuehne thomas-dloop at kuehne.cn
Wed Sep 20 12:19:33 PDT 2006


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

d-bugmail at puremagic.com schrieb am 2006-09-15:
> http://d.puremagic.com/issues/show_bug.cgi?id=223

> ------- Comment #3 from lio at lunesu.com  2006-09-15 11:23 -------
> The same incomplete error is generated for the following code:
>
> void main()
> {
>         const int x;
> }
>
> DMD v0.166:
> UnhandledError(0,0): Error: integral constant must be scalar type, not void

Added to DStress as
http://dstress.kuehne.cn/nocompile/c/const_38_A.d
http://dstress.kuehne.cn/nocompile/c/const_38_B.d

Thomas


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

iD8DBQFFEZt3LK5blCcjpWoRAsWlAKCZMsDwbbO6la3mAqc1LQtmU2BNdACdEguD
QY9NRc/gJIQHFlN0isZPOLA=
=kk1z
-----END PGP SIGNATURE-----



More information about the Digitalmars-d-bugs mailing list