Bug 11991 – Implicit catch picks up wrong 'Throwable'

Status
RESOLVED
Resolution
FIXED
Severity
critical
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2014-01-24T23:04:00Z
Last change time
2014-01-29T01:41:50Z
Keywords
pull, rejects-valid
Assigned to
nobody
Creator
yebblies

Comments

Comment #0 by yebblies — 2014-01-24T23:04:42Z
void main() { int Throwable; scope(success) assert(0); } Error: Throwable is used as a type Error: undefined identifier __o5, did you mean variable __os4? Critical because no line number
Comment #1 by yebblies — 2014-01-24T23:16:22Z
Comment #2 by github-bugzilla — 2014-01-29T00:14:13Z
Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/a7cffd08df3116654eacc71b7d6e9cf68a5332ff Fix Issue 11991 - Implicit catch picks up wrong 'Throwable' https://github.com/D-Programming-Language/dmd/commit/152c680edfb34390d019ed2b5cc5fc1d91e5dbff Merge pull request #3147 from yebblies/issue11991 Issue 11991 - Implicit catch picks up wrong 'Throwable'