[Issue 15814] New: [REG-master] Custom deprecation message is not shown
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Sat Mar 19 06:27:50 PDT 2016
https://issues.dlang.org/show_bug.cgi?id=15814
Issue ID: 15814
Summary: [REG-master] Custom deprecation message is not shown
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Keywords: diagnostic
Severity: regression
Priority: P1
Component: dmd
Assignee: nobody at puremagic.com
Reporter: k.hara.pg at gmail.com
Test case:
deprecated("a") int get() { return 0; }
enum x = get();
Witn 2.070:
test.d(2): Deprecation: function test.get is deprecated - a
With git-head:
test.d(2): Deprecation: function test.get is deprecated
--
More information about the Digitalmars-d-bugs
mailing list