[Issue 1602] dmd freezes on array literal

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Dec 6 02:53:10 PST 2007


http://d.puremagic.com/issues/show_bug.cgi?id=1602


spam at extrawurst.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-invalid-code




------- Comment #2 from spam at extrawurst.org  2007-12-06 04:53 -------
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]


-- 



More information about the Digitalmars-d-bugs mailing list