Let's paint those bikesheds^Werror messages!

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Tue Jun 27 17:38:40 PDT 2017


On 6/27/2017 7:32 AM, Vladimir Panteleev wrote:
> As has been announced, DMD now has colorized syntax highlighting in error messages:
> 
> http://forum.dlang.org/post/of9oao$230j$1@digitalmars.com
> 
> With 2.075's release near, now would be a good time to decide on a nice color 
> palette that looks fine on most terminals. So, please vote:
> 
> https://github.com/dlang/dmd/pull/6943

In the spirit of this, a lot of (rather tedious) work needs to be done on the 
error messages themselves to enable color syntax highlighting. Specifically, 
replacing ' ' with ` `, and adding ` ` around %s formats when code is being 
emitted to the %s.

It's tedious because of all the messages in test/fail_compilation/* that need 
updating.

It would also be helpful to pull things like:

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


More information about the Digitalmars-d mailing list