interface D { void foo(); } void main() { D d = new D(); } The above code errors out with: asdf.d(7): Error: cannot create instance of interface D asdf.d(7): Error: cannot create instance of abstract class D Huh? Abstract class? That's an interface, not an abstract class. The first error message is expected, the second is both incorrect and superfluous.
Damn typos.
This should be easy to fix. expression.c, line 2756, change from: if (cd->isAbstract()) To: else if (cd->isAbstract())
Fixed DMD 1.019 and 2.003
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル