Bug 11300 – [2.064 beta] ICE with enums and circular module references
Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-10-19T11:13:00Z
Last change time
2013-10-19T19:52:34Z
Keywords
ice, pull
Assigned to
nobody
Creator
code
Comments
Comment #0 by code — 2013-10-19T11:13:30Z
--- a.d
module a;
import b;
enum value = 42;
---
--- b.d
module b;
static import a;
enum value = a.value;
---
---
dmd a.d
---
DMD 2.063.2 fails with "Error: cannot resolve type for value", but the current head of the 2.064 branch (a913ce4b) crashes.