Commit 40c71c2c authored by Sylvain Henry's avatar Sylvain Henry Committed by Marge Bot

Fix colorized error messages (#18128)

In b3df9e78 I broke colorized messages
by using "dump" style instead of "user" style. This commits fixes it.
parent 2420c555
......@@ -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 ())
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment