986 – Internal error: e2ir.c 1098

D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 986 - Internal error: e2ir.c 1098
Summary: Internal error: e2ir.c 1098
Status: RESOLVED WORKSFORME
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D1 (retired)
Hardware: x86 Linux
: P2 critical
Assignee: Walter Bright
URL:
Keywords:
Depends on:
Blocks:
Reported: 2007年02月19日 15:14 UTC by Frank Benoit
Modified: 2014年02月16日 15:25 UTC (History)
1 user (show)

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 Frank Benoit 2007年02月19日 15:14:32 UTC
Sorry, i have no sample.
I (and another one) get this when i try to compile the sources of my swt port on linux. DMD 1.005 works, DMD 1.006 gives this error. It is a huge amount of code.
Probably out of memory or something?
If you want, you can checkout tioport at rev 157 and tango at revision at 1717. Go to the tioport dir ports/swt-3.2.1-linux and do a "make example_paint"
Comment 1 Walter Bright 2007年02月20日 03:18:26 UTC
It may relate to attempting to use:
 a.new Foo;
where Foo is not a class nested within a.
Comment 2 Frank Benoit 2007年02月25日 06:31:50 UTC
Still present with the Bond revision 1.007.
Here comes a sample:
class Adapter {
 void func(){
 }
}
class Foo {
 class AnonAdapter : Adapter {
 }
 void func(){
 Adapter a = cast( Adapter )( new AnonAdapter() );
 }
}
Comment 4 Walter Bright 2007年04月12日 05:21:17 UTC
Works with DMD 1.011.


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