Bug 15814 – [REG-master] Custom deprecation message is not shown
Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2016-03-19T13:27:00Z
Last change time
2016-03-19T17:30:43Z
Keywords
diagnostic, pull
Assigned to
nobody
Creator
k.hara.pg
Comments
Comment #0 by k.hara.pg — 2016-03-19T13:27:50Z
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