2489 – import in struct causes assertion failure

D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 2489 - import in struct causes assertion failure
Summary: import in struct causes assertion failure
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D1 (retired)
Hardware: All All
: P2 normal
Assignee: Walter Bright
URL:
Keywords: ice-on-invalid-code
Depends on:
Blocks:
Reported: 2008年12月03日 12:51 UTC by Gide Nwawudu
Modified: 2014年03月01日 00:36 UTC (History)
0 users

See Also:


Attachments
Add an attachment (proposed patch, testcase, etc.)

Note You need to log in before you can comment on or make changes to this issue.
Description Gide Nwawudu 2008年12月03日 12:51:16 UTC
struct X {
 import std.stdio;
}
void main(){
 X.std.stdio.writefln("");
}
DMD 1.033
C:> dmd test.d
Assertion failure: 'd' on line 4282 in file 'mtype.c'
DMD 2.021
C:> dmd test.d
Assertion failure: 'd' on line 5011 in file 'mtype.c'
Comment 1 Walter Bright 2008年12月25日 04:38:52 UTC
Fixed dmd 1.038 amd 2.022


AltStyle によって変換されたページ (->オリジナル) /