Extending deprecated

KennyTM~ kennytm at gmail.com
Thu Jul 15 10:42:24 PDT 2010


On Jul 16, 10 01:18, Mafi wrote:
> Hi folks,
> When porting some D1 code to D2, i had the idea to add an alternative
> syntax of deprecated:
> deprecated ( string )
> where string is any valid string or char.
> The sense of this would be 'deprecated by', so the compiler should then
> output "xy is deprecated by ..." instead of "xy is deprecated".
>
> What do you think about that?
> Mafi

Proposed already: http://article.gmane.org/gmane.comp.lang.d.dmd.devel/360



More information about the Digitalmars-d mailing list