DMD now has colorized syntax highlighting in error messages
ketmar via Digitalmars-d-announce
digitalmars-d-announce at puremagic.com
Sun May 14 19:44:50 PDT 2017
Walter Bright wrote:
> https://github.com/dlang/dmd/pull/6777
>
> It turned out to be unexpectedly easy to implement.
>
> The only downside is now we have to rather tediously tweak the error
> message texts so they use backticks.
sorry for being rude, but this is exactly the example of things programmers
like to write: fun, quite easy, and absolutely useless. most of the time it
will be filtered away by ide/editor, and otherwise it is *harder* to read,
'cause it will almost certainly not match editor's syntax coloring settings,
so reader will have to mentally strip the colors first.
while much harder task -- showing which exactly template failed in template
constraint -- is very hard to implement (i tried it, i know it), but will
immediately benefit *anyone*, and will be really useful.
i'm not trying to say that you should drop the things you like to work on,
and switch to the things i like, of course. but this patch, IMO, doesn't
deserve a dedicated NG post.
sorry again, i'm frustrated by dmd inability to generate valid .o file from
completely valid source, so can be harsh today.
More information about the Digitalmars-d-announce
mailing list