Allow usage of string constants in deprecation messages
Original Reporter info from Mantis: Ask
-
Reporter name: Alexander S. Klenin
Original Reporter info from Mantis: Ask
- Reporter name: Alexander S. Klenin
Description:
When many procedures/properties are deprecated,
they often have a common message.
Now it has to be duplicated as a string literal:
procedure P1; deprecated 'Use new API';
procedure P2; deprecated 'Use new API';
...
I propose to allow the following
const
DEPR_MSG = 'Use new API';
procedure P1; deprecated DEPR_MSG;
procedure P2; deprecated DEPR_MSG;
Mantis conversion info:
- Mantis ID: 19978