[Issue 10049] New: Spurious "Label already defined" error inside a foreach over a range aggregate

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed May 8 21:00:45 PDT 2013


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

           Summary: Spurious "Label already defined" error inside a
                    foreach over a range aggregate
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: rejects-valid
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: davidell at earthling.net


--- Comment #0 from David Ellsworth <davidell at earthling.net> 2013-05-08 21:00:44 PDT ---
import std.stdio;
void main()
{
    foreach (line; stdin.byLine)
        doNext:
            {}
}

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