May 18, 2005Re: DMD-0.123 introduced bug
Posted in reply to Thomas Kuehne
Thomas Kuehne wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Stewart Gordon schrieb am Mon, 16 May 2005 11:35:35 +0100: > <snip><snip> > >>>Added to DStress as >>>http://dstress.kuehne.cn/run/a/array_initialization_15.d >> >>Should be nocompile. The bug is a bad error line number. > > What would be the correct error message for array_initialization_15? Just thinking about it, it depends on which side of the contradiction you go by. If the first code snippet under "Static Initialization of Static Arrays" is correct, then indeed it should work. If OTOH the paragraph I quoted earlier is correct, it should be something like array_initialization_15.d(15): incomplete initialization of array s Stewart. -- My e-mail is valid but not my primary mailbox. Please keep replies on the 'group where everyone may benefit.
May 19, 2005Re: DMD-0.123 introduced bug
Posted in reply to Andrew Fedoniouk
"Andrew Fedoniouk" <firstname.lastname@example.org> wrote in message news:email@example.com... > Also: > http://dstress.kuehne.cn/nocompile/array_initialization_11.d > will not compile for the same reason I believe. > This poped up in .123. This doesn't compile because now the compiler detects that it would overflow the stack.
Copyright © 1999-2017 by the D Language Foundation