http://d.puremagic.com/issues/show_bug.cgi?id=5290
Summary: Static array literals with too few elements Product: D Version: D2 Platform: Other OS/Version: Windows Status: NEW Keywords: accepts-invalid Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: dsim...@yahoo.com --- Comment #0 from David Simcha <dsim...@yahoo.com> 2010-11-29 05:55:24 PST --- The following invalid code is accepted: import std.stdio; void main() { real[2] foo = [1.0L]; writeln(foo); // [1, 0] } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------