Summary: Support deprecated("message")
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: DMD

--- Comment #0 from Don <> 2011-01-24 07:59:52 PST ---
A simple feature which has been discussed in the ng but not yet added to

An optional message should be added to 'deprecated'. This can provide a
detailed explanation of how the code should be updated (replacing the ugly
usage of pragma(msg), which doesn't even work properly).

deprecated("Use newStuff instead.")
   int oldStuff;
int newstuff;

void main()
   oldStuff = 6;
---> Should give:
bug.d(15): oldStuff is deprecated
          Use newStuff instead.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to