digitalmars.D.bugs - [Issue 17989] New: [REG2.076] Confusing message on deprecated
- d-bugmail puremagic.com (33/33) Nov 17 2017 https://issues.dlang.org/show_bug.cgi?id=17989
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: nobody puremagic.com Reporter: radu.racariu 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. --
Nov 17 2017