[Issue 20822] New: control characters for the console are included even when dmd is piped

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon May 11 22:35:42 UTC 2020


https://issues.dlang.org/show_bug.cgi?id=20822

          Issue ID: 20822
           Summary: control characters for the console are included even
                    when dmd is piped
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: regression
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: b2.temp at gmx.com

just open a console in your terminal, put a typo in a source to get an error
(for example line 792 of declaration.d, rename isOverDeclaration ->
isOveDeclaration) and

  $ make -f posix.mak > a.out

I get things like

> ERROR: [1mdmd/declaration.d(792): [1;31mError: [mno property [0;36m[m[1misOveDeclaration[0;36m[m for type [0;36m[m[1mdmd[0;36m.[m[1mdsymbol[0;36m.[m[1mDsymbol[0;36m[m, did you mean [0;36m[m[1mdmd[0;36m.[m[1mdsymbol[0;36m.[m[1mDsymbol[0;36m.[m[1misOverDeclaration[0;36m[m?

Not good.

--


More information about the Digitalmars-d-bugs mailing list