Say I have a function that's been deprecated for some time. Then I remove it. Some clients will still use the now-missing function. It would be nice to give a helpful error message, instead of a "symbol not found" error.
I thus propose a
REMOVED pragma. The syntax is identical to
DEPRECATED, except for the name of the pragma. Whenever a
REMOVED function is mentioned, the error message includes the string from the pragma. (This includes trying to define a
REMOVED class method in an instance.)
See Design/DeprecationMechanisms for more info and related efforts.