digitalmars.D - Color highlighting makes usage of dustmite almost impossible for
- Andre Pany (27/27) Sep 09 2019 Hi,
- ag0aep6g (3/8) Sep 09 2019 I'd prefer it the other way around: add backticks to the colored output,...
- Paul Backus (2/10) Sep 10 2019 +1, this is what gcc does.
Hi, I am currently facing a compiler error for which I think it is a bug and wanted to use dustmite to reduce the source code: source\cp\puzzles\puzzle.d(454,35): Error: need this for name of type string Several parts of the error message are highlighted, e.g. "this" and "name" and "string". I thought I can use dustmite with a compiler regex dub dustmite ..\dm --compiler-regex="need this for name of type string" But dustmite fails with "Initial test fails". For a beginner this would be an unsolvable issue. By chance I found out what is causing the issue. If you switch off the color, the error message changes to: source\cp\puzzles\puzzle.d(454,35): Error: need `this` for `name` of type `string` Therefore you have to use this command dub dustmite ..\dm --compiler-regex="need `this` for `name` of type `string`" If the backticks are just a helper tool for marking the parts which should be highlighted I would propose to remove them in the none colored output. What do you think? Kind regars André
Sep 09 2019
On 09.09.19 21:44, Andre Pany wrote:If the backticks are just a helper tool for marking the parts which should be highlighted I would propose to remove them in the none colored output. What do you think?I'd prefer it the other way around: add backticks to the colored output, too.
Sep 09 2019
On Monday, 9 September 2019 at 20:27:12 UTC, ag0aep6g wrote:On 09.09.19 21:44, Andre Pany wrote:+1, this is what gcc does.If the backticks are just a helper tool for marking the parts which should be highlighted I would propose to remove them in the none colored output. What do you think?I'd prefer it the other way around: add backticks to the colored output, too.
Sep 10 2019