https://d.puremagic.com/issues/show_bug.cgi?id=8903


yebblies <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|wrong-code                  |performance, pull


--- Comment #4 from yebblies <[email protected]> 2013-11-24 17:34:28 EST ---
It looks a little like issue 9953, but it isn't.  Because int[8] is a static
array, the array literal is a value type and it is valid to store in an enum.

There is no special casing for static array typed array literals, but there
should be.  They should be created on the stack, then indexed.

https://github.com/D-Programming-Language/dmd/pull/2870

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

Reply via email to