Bug 8043 – DMD Crash on undefined identifier

Status
RESOLVED
Resolution
WORKSFORME
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2012-05-04T16:39:00Z
Last change time
2012-05-04T17:43:52Z
Assigned to
nobody
Creator
andrej.mitrovich

Comments

Comment #0 by andrej.mitrovich — 2012-05-04T16:39:22Z
void main() { enum B = 1; enum a = [b]; } I get the ol' dialog box: --------------------------- dmd.exe - Application Error --------------------------- The instruction at "0x0044b049" referenced memory at "0x00000000". The memory could not be "read". Seems to only happen with enums and an array of an undefined symbol.
Comment #1 by bugzilla — 2012-05-04T17:43:52Z
Fails on 2.059, but works correctly on 2.060 head.