Thread overview
[Issue 10049] New: Spurious "Label already defined" error inside a foreach over a range aggregate
May 09, 2013
David Ellsworth
May 09, 2013
Kenji Hara
May 10, 2013
Walter Bright
May 13, 2013
Kenji Hara
May 09, 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@puremagic.com
        ReportedBy: davidell@earthling.net


--- Comment #0 from David Ellsworth <davidell@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: -------
May 09, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10049


Kenji Hara <k.hara.pg@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |regression


--- Comment #1 from Kenji Hara <k.hara.pg@gmail.com> 2013-05-09 00:20:03 PDT ---
https://github.com/D-Programming-Language/dmd/pull/1984

This bug is a regression from 2.059, has been caused by fixing issue 6659.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
May 10, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10049



--- Comment #2 from github-bugzilla@puremagic.com 2013-05-10 12:36:32 PDT ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/be7d1f217d9566a6828b25bd7ad44939d8c832ee
fix Issue 10049 - Spurious "Label already defined" error inside a foreach over
a range aggregate

https://github.com/D-Programming-Language/dmd/commit/6847bd32b42728fb0ea9bca7d5c92013ce318516 Merge pull request #1984 from 9rnsr/fix10049

[REG2.059] Issue 10049 - Spurious "Label already defined" error inside a foreach over a range aggregate

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
May 10, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10049


Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |bugzilla@digitalmars.com
         Resolution|                            |FIXED


-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
May 13, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10049


Kenji Hara <k.hara.pg@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |code@dawg.eu


--- Comment #3 from Kenji Hara <k.hara.pg@gmail.com> 2013-05-13 05:38:07 PDT ---
*** Issue 9973 has been marked as a duplicate of this issue. ***

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------