D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 15814 - [REG-master] Custom deprecation message is not shown
Summary: [REG-master] Custom deprecation message is not shown
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: All All
: P1 regression
Assignee: No Owner
URL:
Keywords: diagnostic, pull
Depends on:
Blocks:
 
Reported: 2016-03-19 13:27 UTC by Kenji Hara
Modified: 2016-03-19 17:30 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Kenji Hara 2016-03-19 13:27:50 UTC
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
Comment 2 github-bugzilla 2016-03-19 17:30:43 UTC
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/64ed127f107dccdc7fdfe85393300c54d2f9f94c
fix Issue 15814 - Custom deprecation message is not shown

https://github.com/D-Programming-Language/dmd/commit/5990aa5842279555bd12b3a9278ae5f0d161e473
Merge pull request #5547 from 9rnsr/fix15814

[REG-master] Issue 15814 - Custom deprecation message is not shown