[Issue 6723] New: foreach (i, e; range) {} crash

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Sep 24 13:17:10 PDT 2011


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

           Summary: foreach (i, e; range) {} crash
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: kyfolee at gmail.com


--- Comment #0 from kyfolee at gmail.com 2011-09-24 13:16:37 PDT ---
The following crashes the compiler:

void main()
{
    import std.range;
    foreach (i, e; iota(1,2)) {}
}

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