digitalmars.D - int[3] a = [1, 2, 3]; // Why heap?
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. :\
Aug 01 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.
Aug 01 2011
On 8/1/2011 6:32 AM, Don wrote:Mehrdad wrote:Ah ok thanks!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.
Aug 01 2011