http://d.puremagic.com/issues/show_bug.cgi?id=4488


nfx...@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nfx...@gmail.com


--- Comment #1 from nfx...@gmail.com 2010-07-19 19:52:27 PDT ---
The problem is that array and struct initializers never worked with non-static
data (which is utterly retarded; even C can initialize any data with these;
what's even more retarded is that this was "fixed" by simply removing struct
initializers in D2 and replaced them by constructors, which are redundant to
opCall anyway... but I'm digressing.)

This means the above snippet is really:

double[2] arr;
arr = [x, y];

This makes it more obvious why it's allocating.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to