De-duplicating Error messages

Walter Bright newshound2 at digitalmars.com
Tue Jun 13 02:27:09 UTC 2023


This is one of the priority focuses with improving the user experience with the 
compiler.

I tried a couple general approaches:

https://github.com/dlang/dmd/pull/15303
https://github.com/dlang/dmd/pull/15306

but they both failed for overdoing things, for various reasons. Fixing those 
reasons just seemed to be more trouble than they are worth.

I switched to the rifle shot approach,

https://github.com/dlang/dmd/pull/15312

which is about picking out specific troublesome messages and deduplicating just 
them.

If you have specific examples of duplicated error messages, please let me know.


More information about the Digitalmars-d mailing list