[Issue 3974] ICE(init.c): Static array initializer with more elements than destination array

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Mar 16 05:20:38 PDT 2010


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


bearophile_hugs at eml.cc changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bearophile_hugs at eml.cc


--- Comment #1 from bearophile_hugs at eml.cc 2010-03-16 05:20:36 PDT ---
Regarding bug 3849, I did put both things in the same bug report because:
- they are strongly semantically related, the compiler has to refuse fixed
sized literals with a number of items different from the number specified on
the left (this is true for nD arrays too);
- The cause of this ICE can be related to the lack of tests over the number of
items in the literal compared to the number on the left. So fixing one bug can
even fix the other too, or it can be very quick to fix one when you fix the
other. That's why I have not originally marked that as enhancement.

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


More information about the Digitalmars-d-bugs mailing list