May 18, 2005
Thomas Kuehne wrote:
> Hash: SHA1
> Stewart Gordon schrieb am Mon, 16 May 2005 11:35:35 +0100:
> <snip><snip>
>>>Added to DStress as
>>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


My e-mail is valid but not my primary mailbox.  Please keep replies on
the 'group where everyone may benefit.
May 19, 2005
"Andrew Fedoniouk" <> wrote in message news:d63vmq$fqq$
> Also:
> 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.

Next ›   Last »
1 2
Top | Discussion index | About this forum | D home