← Back to index
|
Original Bugzilla link
Bug 12362 – dmd hangs when attempting to use undefined enum
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
x86
OS
Linux
Creation time
2014-03-14T02:20:00Z
Last change time
2014-06-08T02:42:33Z
Keywords
ice
Assigned to
nobody
Creator
michaelpm394
Comments
Comment #0
by michaelpm394 — 2014-03-14T02:20:04Z
I think it should give an error. enum foo; void main() { enum bar = foo; }
Comment #1
by github-bugzilla — 2014-06-08T02:42:33Z
Commit pushed to master at
https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/8eb921c8b50339db6189cdd011969ab3ad81d193
fix Issue 12362 - dmd hangs when attempting to use undefined enum