int[3] a = [1, 2, 3]; // Why heap?

Mehrdad wfunction at hotmail.com
Mon Aug 1 18:59:52 PDT 2011


On 8/1/2011 6:32 AM, Don wrote:
> Mehrdad wrote:
>> I'm just wondering, is there a plan to fix the
>>
>> |int[3] a = [1, 2, 3];
>> |
>>
>> issue, to not make it allocate on the heap?
>>
>> It kind of sucks to see people bash D for something so trivial like 
>> this. :\
>
> Yes. It's bug 2356.

Ah ok thanks!


More information about the Digitalmars-d mailing list