http://d.puremagic.com/issues/show_bug.cgi?id=3948
Summary: Array literal assign to array of different length Product: D Version: 2.041 Platform: x86 OS/Version: Windows Status: NEW Keywords: accepts-invalid Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: bearophile_h...@eml.cc --- Comment #0 from bearophile_h...@eml.cc 2010-03-13 04:45:14 PST --- The compiler accepts this with no errors, but this is wrong code: enum int[1] a = [0, 1]; void main() {} -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------