View mode: basic / threaded / horizontal-split · Log in · Help
May 18, 2005
Re: DMD-0.123 introduced bug
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, 2005
Re: DMD-0.123 introduced bug
"Andrew Fedoniouk" <news@terrainformatica.com> wrote in message
news:d63vmq$fqq$1@digitaldaemon.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.
Next ›   Last »
1 2
Top | Discussion index | About this forum | D home