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

Don nospam at nospam.com
Mon Aug 1 06:32:11 PDT 2011


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.


More information about the Digitalmars-d mailing list