Unofficial wish list status.

John Reimer terminal.node at gmail.com
Tue Oct 3 08:14:32 PDT 2006


On Tue, 03 Oct 2006 01:06:33 -0700, Frits van Bommel  
<fvbommel at REMwOVExCAPSs.nl> wrote:

> Frits van Bommel wrote:
>> John Reimer wrote:
>>> So we have array literals now.  I guess non-static array  
>>> initialization is possible now that we have this?
>>  No, Walter seems to have forgotten to remove the check that produced  
>> the error message for non-static array initialization:
>>      D:\Temp> cat test.d
>>     void main()
>>     {
>>         int[] foo = [1, 2, 3];
>>     }
>>     D:\Temp> dmd test.d
>>     test.d(3): variable test.main.foo is not a static and cannot have  
>> static initializer
>>  IIRC he has acknowledged this is a bug. So hopefully it'll be fixed in  
>> the next DMD version.
>
> And just over 2 hours later, DMD 0.168 came out and the bug is fixed.  
> Guess I should have waited to reply ;).
>
> So now "array initialization/literals" have been implemented except for  
> associative arrays (as Serg Kovrov mentioned).


Yes, I noticed that too. I think it was just a coincidence. ;D

Thanks, Walter.  You've been doing a phenomenal job.

-JJR



More information about the Digitalmars-d mailing list