Commit c11f145c authored by Ben Gamari's avatar Ben Gamari 🐢

ErrUtils: Ensure timing dumps are always output on one line

This output is supposed to be machine-readable; having random line-breaks
defeats this.
parent 2d1c671c
......@@ -646,6 +646,7 @@ withTiming getDFlags what force_result action
<+> text "megabytes")
liftIO $ dumpIfSet_dyn dflags Opt_D_dump_timings ""
$ text $ showSDocOneLine dflags
$ hsep [ what <> colon
, text "alloc=" <> ppr alloc
, text "time=" <> doublePrec 3 time
......
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