www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 14435] New: [D1] backport deprecated("msg")


          Issue ID: 14435
           Summary: [D1] backport deprecated("msg")
           Product: D
           Version: D1
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: P1
         Component: DMD
          Assignee: nobody puremagic.com
          Reporter: public dicebot.lv

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.

Apr 10 2015