D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 14435 - [D1] backport deprecated("msg")
Summary: [D1] backport deprecated("msg")
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D1 (retired)
Hardware: All All
: P1 minor
Assignee: No Owner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-10 10:54 UTC by Dicebot
Modified: 2015-04-15 06:05 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 Dicebot 2015-04-10 10:54:57 UTC
DMD2 supports this syntax:

deprecated("This is printed as deprecation message")
void foo();

This is one of D2 features that would help indirectly in handling smooth migration if ported to D1 and should be relatively simple to add according to my knowledge of DMD internals.
Comment 1 github-bugzilla 2015-04-14 01:10:21 UTC
Commit pushed to dmd-1.x at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/bc99930d1c92f997c849e5925f9f17455c7b2470
fix Issue 14435 - [D1] backport deprecated('msg')
Comment 2 Dicebot 2015-04-15 06:05:02 UTC
Thanks!