[Issue 12954] deprecated doesn't work with concatenated strings or anything else but a string literal

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Tue Feb 9 20:46:23 PST 2016


https://issues.dlang.org/show_bug.cgi?id=12954

--- Comment #2 from github-bugzilla at puremagic.com ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/f04dc8b916ccd3e3139ce4192d2365597614e77b
Fix issue 12954 - Deprecated only works with string literals

Allow code to use `enum` and `static {immutable,const}` for the deprecation
message.
This will allow for more dynamic deprecation message (e.g. with release
informations).
It purposedly doesn't support direct function call to get the deprecation
message.

https://github.com/D-Programming-Language/dmd/commit/96b883ab81d10cd75dcd5d129c15bfb31cd55c7d
Merge pull request #5302 from Geod24/fix-12954

Fix issue 12954 - Deprecated only works with string literals

--


More information about the Digitalmars-d-bugs mailing list