digitalmars.D.bugs - [Issue 593] New: can't deduce from arrayliteral
- d-bugmail puremagic.com Nov 25 2006
- Thomas Kuehne <thomas-dloop kuehne.cn> Nov 25 2006
- d-bugmail puremagic.com Dec 08 2006
http://d.puremagic.com/issues/show_bug.cgi?id=593 Summary: can't deduce from arrayliteral Product: D Version: unspecified Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: bugzilla digitalmars.com ReportedBy: lovesyao hotmail.com void main(){ auto t=['a','b','c','d'];//error const t2=['a','b','c','d'];//crash } --
Nov 25 2006
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 d-bugmail 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-----
Nov 25 2006
http://d.puremagic.com/issues/show_bug.cgi?id=593 bugzilla digitalmars.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #2 from bugzilla digitalmars.com 2006-12-08 02:57 ------- Fixed DMD 0.176 --
Dec 08 2006









Thomas Kuehne <thomas-dloop kuehne.cn> 