This code doesn't work! -------------------- import std.stdio; void main(string[] args) { auto t = new Child; t.fuga(); writeln("done."); } class Parent { public: bool isHage() const @property; public: abstract void fuga() out { assert(isHage); } body { } } class Child : Parent { override bool isHage() const @property { return true; } override void fuga() { //nop } } --------------------
https://github.com/D-Programming-Language/dmd/pull/478
https://github.com/D-Programming-Language/dmd/commit/17d9baeb9f9c000b1b6828baa0bb7c73cb38e31b https://github.com/D-Programming-Language/dmd/commit/8aa616d1a6d25ca7b358d08b1aab1d948597a835
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル