Thread overview
[Issue 12954] deprecated doesn't work with concatenated strings or anything else but a string literal
Dec 06, 2015
Mathias LANG
May 18, 2020
Mathias LANG
June 09, 2015
https://issues.dlang.org/show_bug.cgi?id=12954

Andrei Alexandrescu <andrei@erdani.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|unspecified                 |D2

--
December 06, 2015
https://issues.dlang.org/show_bug.cgi?id=12954

Mathias LANG <pro.mathias.lang@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pro.mathias.lang@gmail.com

--- Comment #1 from Mathias LANG <pro.mathias.lang@gmail.com> ---
P.R. submitted: https://github.com/D-Programming-Language/dmd/pull/5302

--
February 10, 2016
https://issues.dlang.org/show_bug.cgi?id=12954

--- Comment #2 from github-bugzilla@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

--
February 12, 2016
https://issues.dlang.org/show_bug.cgi?id=12954

--- Comment #3 from github-bugzilla@puremagic.com ---
Commit pushed to master at https://github.com/D-Programming-Language/dlang.org

https://github.com/D-Programming-Language/dlang.org/commit/ffdb17cde12300f4755ecbd516e7ab6e577c628a Merge pull request #1229 from Geod24/deprecated-assignexp-pr5302-issue12954

[2.071.0] Document deprecated attribute as accepting AssignExp

--
March 19, 2016
https://issues.dlang.org/show_bug.cgi?id=12954

--- Comment #4 from github-bugzilla@puremagic.com ---
Commit pushed to stable at https://github.com/D-Programming-Language/dlang.org

https://github.com/D-Programming-Language/dlang.org/commit/ffdb17cde12300f4755ecbd516e7ab6e577c628a Merge pull request #1229 from Geod24/deprecated-assignexp-pr5302-issue12954

--
August 02, 2017
https://issues.dlang.org/show_bug.cgi?id=12954

--- Comment #5 from github-bugzilla@puremagic.com ---
Commit pushed to dmd-cxx at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/58b7f1c1e16c2572799d920d236d4ff52551c2de Issue 12954 - Deprecated only works with string literals

--
May 18, 2020
https://issues.dlang.org/show_bug.cgi?id=12954

Mathias LANG <pro.mathias.lang@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jack@jackstouffer.com

--- Comment #6 from Mathias LANG <pro.mathias.lang@gmail.com> ---
*** Issue 16014 has been marked as a duplicate of this issue. ***

--