class C { public this(){ } } interface I { void fnc(); } void main(){ char[][] t; foreach( char[] c; t ){ new class( c ) C, I { public this( char[] c ){ super(); } void fnc(){ } }; } } Error: constructor calls not allowed in loops or after labels
Added to DStress as http://dstress.kuehne.cn/run/s/super_15_A.d http://dstress.kuehne.cn/run/s/super_15_B.d http://dstress.kuehne.cn/run/s/super_15_C.d
Fixed DMD 1.018 and DMD 2.002
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル