[Issue 5290] Static array literals with too few elements

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Sep 9 11:24:12 PDT 2011


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



--- Comment #5 from Kenji Hara <k.hara.pg at gmail.com> 2011-09-09 11:23:57 PDT ---
(In reply to comment #4)
> int[3] arr = [1, 2];
> void main() {}
>
> I presume Pull 375 lets this kind of code pass, right?

??? Pull 375 rejects statically above code, it is expected behavior from this
issue.

-- 
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