Extending deprecated

Mafi mafi at example.org
Thu Jul 15 10:18:59 PDT 2010


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


More information about the Digitalmars-d mailing list