May 18, 2017 Re: DMD now has colorized syntax highlighting in error messages | ||||
---|---|---|---|---|
| ||||
Posted in reply to Adam D. Ruppe | On Tuesday, 16 May 2017 at 14:17:41 UTC, Adam D. Ruppe wrote: > Similarly, what I want to see in the future is highlighting of specific parts of code where the error applies. Fear me. I combined Walter's code with my own to form some kind of Voltron! https://github.com/dlang/dmd/pull/6806 |
May 18, 2017 Re: DMD now has colorized syntax highlighting in error messages | ||||
---|---|---|---|---|
| ||||
Posted in reply to Adam D. Ruppe | On Thursday, 18 May 2017 at 01:52:17 UTC, Adam D. Ruppe wrote:
> On Tuesday, 16 May 2017 at 14:17:41 UTC, Adam D. Ruppe wrote:
>> Similarly, what I want to see in the future is highlighting of specific parts of code where the error applies.
>
>
> Fear me. I combined Walter's code with my own to form some kind of Voltron!
>
> https://github.com/dlang/dmd/pull/6806
I think the compiler's error design could use a complete overhaul. I'm wondering if it wouldn't be wise to start a new git branch for all changes to error messages. Call it `stderr.experimental` or something cute like that. The idea is that D won't break people's test code that checks error output until a more complete design has been worked out and approved of. I'm not in favor of or against this idea. I just wanted to propose it.
|
Copyright © 1999-2021 by the D Language Foundation