http://d.puremagic.com/issues/show_bug.cgi?id=9013
Summary: Compiler crash with foreach on wrongly defined interval Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: bearophile_h...@eml.cc --- Comment #0 from bearophile_h...@eml.cc 2012-11-12 18:23:22 PST --- void main() { foreach (i; 0 .. missing) int[] foo = cast(int[])[i]; } DMD 2.061alpha prints this and then crashes: test.d(2): Error: undefined identifier missing -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------