Bug 14435 – [D1] backport deprecated("msg")

Status
RESOLVED
Resolution
FIXED
Severity
minor
Priority
P1
Component
dmd
Product
D
Version
D1 (retired)
Platform
All
OS
All
Creation time
2015-04-10T10:54:00Z
Last change time
2015-04-15T06:05:02Z
Assigned to
nobody
Creator
public

Comments

Comment #0 by public — 2015-04-10T10:54:57Z
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 by github-bugzilla — 2015-04-14T01:10:21Z
Comment #2 by public — 2015-04-15T06:05:02Z
Thanks!