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"
It may relate to attempting to use: a.new Foo; where Foo is not a class nested within a.
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() ); } }
Added to DStress as http://dstress.kuehne.cn/run/b/bug_e2ir_1098_A.d http://dstress.kuehne.cn/run/b/bug_e2ir_1098_B.d http://dstress.kuehne.cn/run/b/bug_e2ir_1098_C.d http://dstress.kuehne.cn/run/b/bug_e2ir_1098_D.d
Works with DMD 1.011.
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル