class A { void foo(){} } class B : A { garbage foo() {} } ---- bug.d(9): Error: undefined identifier garbage bug.d(9): Error: function bug.B.foo of type _error_() overrides but is not covariant with bug.A.foo of type void()
*** Issue 7479 has been marked as a duplicate of this issue. ***
https://github.com/D-Programming-Language/dmd/pull/705
https://github.com/D-Programming-Language/dmd/pull/704
Commit pushed to dmd-1.x at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/f81214cbdda5fe8080418e4ffed80a90f3c076fd fix issue 6699, fix issue 7462
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル