digitalmars.D.bugs - [Issue 1785] New: Mixing in an incorrect array literal causes infinite loop.
- d-bugmail puremagic.com (18/18) Jan 13 2008 http://d.puremagic.com/issues/show_bug.cgi?id=1785
- d-bugmail puremagic.com (9/9) Sep 02 2008 http://d.puremagic.com/issues/show_bug.cgi?id=1785
http://d.puremagic.com/issues/show_bug.cgi?id=1785 Summary: Mixing in an incorrect array literal causes infinite loop. Product: D Version: 1.024 Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P3 Component: DMD AssignedTo: bugzilla digitalmars.com ReportedBy: aziz.kerim gmail.com const int[] table = mixin("[1,]"); Notice that the array literal is syntactically incorrect, because trailing commas are only allowed in array initializers. This problem occurs only when the const attribute is specified. --
Jan 13 2008
http://d.puremagic.com/issues/show_bug.cgi?id=1785 bugzilla digitalmars.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED Fixed dmd 1.035 and 2.019 --
Sep 02 2008