https://issues.dlang.org/show_bug.cgi?id=20788
Issue ID: 20788
Summary: Difference between colored and non colored output
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P1
Component: dmd
Assignee: [email protected]
Reporter: [email protected]
The dmd output text is different depending whether color output is on or off.
Sample:
void main()
{
int i;
e = 3;
}
Color on:
sample.d(4): Error: undefined identifier e
Color off:
sample.d(4): Error: undefined identifier `e`
This is an issue if you want to use the dmd output for dustmite.
Color is on by default and very often I forgot, that I cannot just
use the output of dub (dmd) but have to disable colored output.
The dmd output text should be the same, independent whether color is
on or off.
--