[Git][ghc/ghc][master] Fix colorized error messages (#18128)
Marge Bot
gitlab at gitlab.haskell.org
Tue May 5 07:25:42 UTC 2020
Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC
Commits:
40c71c2c by Sylvain Henry at 2020-05-05T03:25:31-04:00
Fix colorized error messages (#18128)
In b3df9e780fb2f5658412c644849cd0f1e6f50331 I broke colorized messages
by using "dump" style instead of "user" style. This commits fixes it.
- - - - -
1 changed file:
- compiler/GHC/Driver/Session.hs
Changes:
=====================================
compiler/GHC/Driver/Session.hs
=====================================
@@ -1593,7 +1593,7 @@ defaultLogActionHPutStrDoc dflags h d
-- Don't add a newline at the end, so that successive
-- calls to this log-action can output all on the same line
= printSDoc ctx Pretty.PageMode h d
- where ctx = initSDocContext dflags defaultDumpStyle
+ where ctx = initSDocContext dflags defaultUserStyle
newtype FlushOut = FlushOut (IO ())
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/40c71c2cf38b4e134d81b7184a4d5e02949ae70c
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/40c71c2cf38b4e134d81b7184a4d5e02949ae70c
You're receiving this email because of your account on gitlab.haskell.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20200505/f69064a1/attachment.html>
More information about the ghc-commits
mailing list