← Back to index
|
Original Bugzilla link
Bug 10049 – Spurious "Label already defined" error inside a foreach over a range aggregate
Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-05-08T21:00:00Z
Last change time
2013-05-13T05:38:07Z
Keywords
pull, rejects-valid
Assigned to
nobody
Creator
davidell
Comments
Comment #0
by davidell — 2013-05-08T21:00:44Z
import std.stdio; void main() { foreach (line; stdin.byLine) doNext: {} }
Comment #1
by k.hara.pg — 2013-05-09T00:20:03Z
https://github.com/D-Programming-Language/dmd/pull/1984
This bug is a regression from 2.059, has been caused by fixing issue 6659.
Comment #2
by github-bugzilla — 2013-05-10T12:36:32Z
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
Comment #3
by k.hara.pg — 2013-05-13T05:38:07Z
*** Issue 9973 has been marked as a duplicate of this issue. ***