https://issues.dlang.org/show_bug.cgi?id=17989
Issue ID: 17989 Summary: [REG2.076] Confusing message on deprecated overrride Product: D Version: D2 Hardware: x86 OS: Windows Status: NEW Severity: regression Priority: P1 Component: dmd Assignee: nob...@puremagic.com Reporter: radu.raca...@gmail.com This ++++foo.d++++++ class A { void test() { } } class B : A { deprecated override void test() { } } ++++++++++ Produces this message with compilers from 2.076 upwards: Deprecation: function foo.B.test deprecated functions cannot be annotated @disable The message is completely misleading and probably wrong. --