www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Want your DMD to segfault?

reply "Martin Cejp" <minexew gmail.com> writes:
It doesn't really get any easier than this:
bool lol[lol.length];

My apologies if this has been fixed in master.
Jan 28 2014
next sibling parent "H. S. Teoh" <hsteoh quickfur.ath.cx> writes:
On Tue, Jan 28, 2014 at 11:48:46PM +0000, Martin Cejp wrote:
 It doesn't really get any easier than this:
 bool lol[lol.length];
 
 My apologies if this has been fixed in master.
Still happens on git HEAD. Please file a bug and tag it 'ice'. T -- Give a man a fish, and he eats once. Teach a man to fish, and he will sit forever.
Jan 28 2014
prev sibling next sibling parent "Stanislav Blinov" <stanislav.blinov gmail.com> writes:
Well, heh. It happens. lol.
Jan 28 2014
prev sibling next sibling parent "Martin" <martinbbjerregaard gmail.com> writes:
I gives a proper error ("Error: undefined identifier lol.length")
here when the declaration is placed inside a function. Crashes
everywhere else though.
Jan 28 2014
prev sibling parent Kenji Hara <k.hara.pg gmail.com> writes:
2014-01-29 H. S. Teoh <hsteoh quickfur.ath.cx>

 On Tue, Jan 28, 2014 at 11:48:46PM +0000, Martin Cejp wrote:
 It doesn't really get any easier than this:
 bool lol[lol.length];

 My apologies if this has been fixed in master.
Still happens on git HEAD. Please file a bug and tag it 'ice'.
https://d.puremagic.com/issues/show_bug.cgi?id=12040 Kenji Hara
Jan 30 2014