On 3/28/2014 2:05 AM, bearophile wrote:
Johannes Pfau:
How about adding a small 'error-message ID' like DPL00042 to every compiler
message? This makes it easier to search for information about the error.
I still think it's a good idea for D. It was proposed time ago.
It has two advantages:
- Make it easier to find info about an error.
No, it doesn't. Really. Grep does a fantastic job of that.
- Give some discipline, order and systematicness to the world of D
errors/warnings.
Been there, done that, doesn't work.
The ID's also make error messages look just plain ugly, as well as causing
premature line wrapping, further uglifying the display.