Issue 4743 - ICE(mtype.c) involving "in UnknownType*"
Summary: ICE(mtype.c) involving "in UnknownType*"
Status: RESOLVED DUPLICATE of issue 4434
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: Other Windows
: P2 normal
Assignee: No Owner
URL:
Keywords: ice-on-invalid-code
Depends on:
Blocks:
 
Reported: 2010-08-27 21:04 UTC by Koroskin Denis
Modified: 2010-11-07 12:28 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Koroskin Denis 2010-08-27 21:04:06 UTC
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 Walter Bright 2010-11-07 12:28:18 UTC

*** This issue has been marked as a duplicate of issue 4434 ***