[Issue 593] New: can't deduce from arrayliteral

Thomas Kuehne thomas-dloop at kuehne.cn
Sat Nov 25 05:47:55 PST 2006


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

d-bugmail at puremagic.com schrieb am 2006-11-25:
> http://d.puremagic.com/issues/show_bug.cgi?id=593

> void main(){
>   auto t=['a','b','c','d'];//error
>   const t2=['a','b','c','d'];//crash
> }

test cases:
http://dstress.kuehne.cn/run/a/auto_18_C.d

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

Thomas


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

iD8DBQFFaD//LK5blCcjpWoRAmuCAJ4hX8aP+2uDo8WFeqx2REcpveljpgCcCXJW
/9sEfl+r/GqpfsXc0wbH9So=
=M2Bx
-----END PGP SIGNATURE-----



More information about the Digitalmars-d-bugs mailing list