Bug 4743 – ICE(mtype.c) involving "in UnknownType*"

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

Comments

Comment #0 by 2korden — 2010-08-27T21:04:06Z
Test case is as simple as that: module crashme.d class Foo { void crash(in Bar* e) { // Bar is not defined } } # dmd crashme.d Assertion failure: 'tn->mod & MODimmutable || tn->mod & MODconst' on line 875 in file 'mtype.c' abnormal program termination DMD2.048, no idea if it applies to D1
Comment #1 by bugzilla — 2010-11-07T12:28:18Z
*** This issue has been marked as a duplicate of issue 4434 ***