On 10/3/2011 12:21 AM, Jacob Carlborg wrote:
Since we already are using pragma(msg, "scheduled for deprecation") where
possible, i.e. in templates, why can't we have a proper language construct for
doing it?

deprecated("message") {}
deprecated {}

Behave as it currently does, except that the first form will print a message as
well.

That's a good idea.

deprecated("message", scheduled) {}

Will behave just as pragma(msg, "") does when a symbol is used that is wrapped
in the "deprecated" block.

Too many features.

Reply via email to