← Back to index
|
Original Bugzilla link
Bug 3664 – struct forward declaration causes enum to conflict with itself
Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P2
Component
dmd
Product
D
Version
D1 (retired)
Platform
x86
OS
Linux
Creation time
2010-01-01T14:57:00Z
Last change time
2014-04-18T09:12:02Z
Keywords
rejects-valid
Assigned to
nobody
Creator
moritzwarning
Blocks
340
Comments
Comment #0
by moritzwarning — 2010-01-01T14:57:53Z
class C { A a; struct A { uint m; } enum { E = 0 } } main.d(18): Error: enum member main.C.E conflicts with enum member main.C.E at main.d(18)
Comment #1
by bugzilla — 2010-01-02T03:57:48Z
Changeset 324
Comment #2
by bugzilla — 2010-01-03T12:41:17Z
Fixed dmd 1.055 and 2.039