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
https://github.com/D-Programming-Language/dmd/pull/5547
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