← Back to index
|
Original Bugzilla link
Bug 16292 – [REG2.069] bogus Error: goto skips declaration of variable
Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2016-07-18T21:15:00Z
Last change time
2016-10-01T11:48:23Z
Keywords
pull, rejects-valid
Assigned to
nobody
Creator
ag0aep6g
Comments
Comment #0
by ag0aep6g — 2016-07-18T21:15:13Z
void main() { goto label; /* Error: goto skips declaration of variable test.main.__dop51 at test.d(4) */ if (makeS()[0]) /* line 4 */ { label: } } S makeS() { return S(); } struct S { int opIndex(size_t i) { return 0; } }
Comment #1
by bugzilla — 2016-07-27T07:07:11Z
https://github.com/dlang/dmd/pull/5973
Comment #2
by github-bugzilla — 2016-08-05T23:28:44Z
Commits pushed to master at
https://github.com/dlang/dmd
https://github.com/dlang/dmd/commit/0e9a52fc4211028756ac81654c069d7e055eb159
fix Issue 16292 - [REG2.069] bogus Error: goto skips declaration of variable
https://github.com/dlang/dmd/commit/970c68799c0c3d77a829429ccbc0973b7f774aab
Merge pull request #5973 from WalterBright/fix16292 fix Issue 16292 - [REG2.069] bogus Error: goto skips declaration of v…
Comment #3
by github-bugzilla — 2016-10-01T11:48:23Z
Commits pushed to stable at
https://github.com/dlang/dmd
https://github.com/dlang/dmd/commit/0e9a52fc4211028756ac81654c069d7e055eb159
fix Issue 16292 - [REG2.069] bogus Error: goto skips declaration of variable
https://github.com/dlang/dmd/commit/970c68799c0c3d77a829429ccbc0973b7f774aab
Merge pull request #5973 from WalterBright/fix16292