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: [email protected]
Reporter: [email protected]
The following code should give a deprecation warning:
class C{
deprecated void foo(){}
}
class D: C{
override void foo(){}
}
--
