digitalmars.D.bugs - [Issue 17586] New: Overriding a deprecated base class function gives
- via Digitalmars-d-bugs (22/22) Jul 02 2017 https://issues.dlang.org/show_bug.cgi?id=17586
https://issues.dlang.org/show_bug.cgi?id=17586 Issue ID: 17586 Summary: Overriding a deprecated base class function gives no warning Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: normal Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: timon.gehr gmx.ch The following code should give a deprecation warning: class C{ deprecated void foo(){} } class D: C{ override void foo(){} } --
Jul 02 2017