Bug 4980 – ICE(mtype.c) on unknown type in a shared class/struct

Status
RESOLVED
Resolution
DUPLICATE
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
Other
OS
Windows
Creation time
2010-10-02T21:04:00Z
Last change time
2010-11-07T12:30:30Z
Keywords
ice-on-invalid-code
Assigned to
nobody
Creator
2korden

Comments

Comment #0 by 2korden — 2010-10-02T21:04:22Z
shared class Foo { Bar* bar; } test.d(3): Error: identifier 'Bar' is not defined test.d(3): Error: Bar is used as a type Assertion failure: 'tn->mod & MODimmutable || tn->mod & MODshared' on line 883 in file 'mtype.c' abnormal program termination
Comment #1 by bugzilla — 2010-11-07T12:30:30Z
*** This issue has been marked as a duplicate of issue 4434 ***