digitalmars.D.bugs - [Issue 1602] New: dmd freezes on array literal
- d-bugmail puremagic.com (23/23) Oct 20 2007 http://d.puremagic.com/issues/show_bug.cgi?id=1602
- downs (3/9) Oct 23 2007 So it's definitely DMD-specific.
- d-bugmail puremagic.com (17/17) Dec 06 2007 http://d.puremagic.com/issues/show_bug.cgi?id=1602
- d-bugmail puremagic.com (9/9) Aug 10 2008 http://d.puremagic.com/issues/show_bug.cgi?id=1602
http://d.puremagic.com/issues/show_bug.cgi?id=1602 Summary: dmd freezes on array literal Product: D Version: 2.006 Platform: PC OS/Version: Windows Status: NEW Keywords: rejects-valid Severity: normal Priority: P2 Component: DMD AssignedTo: bugzilla digitalmars.com ReportedBy: spam extrawurst.org the following code freezes dmd infinitely [CODE] int[][] pins; void main() { pins = [[],[1],[]]; //pins = [[],[],[]]; //this also freezes dmd endlessly } [/CODE] --
Oct 20 2007
For what it's worth, the following works on GDCint[][] pins; void main() { pins = [cast(int[])[], [1], []]; pins = [[],[],[]]; //this also freezes dmd endlessly }So it's definitely DMD-specific. --downs
Oct 23 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1602 spam extrawurst.org changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-on-invalid-code to clear things more up: [CODE] int[][] pins; void main() { pins = [[],[1],[]]; // invalid: gives an error but also crashes dmd pins = [[],[],[]]; // valid afaik but crashes dmd too //endlessly loops dmd } [/CODE] --
Dec 06 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1602 spam extrawurst.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED i dunno when, but it is at least fixed in 2.018 --
Aug 10 2008