Don't squish "Inlined fn" into the right margin quite as much in trace output
authorSamuel Bronson <naesten@gmail.com>
Mon, 16 Oct 2006 13:00:04 +0000 (13:00 +0000)
committerSamuel Bronson <naesten@gmail.com>
Mon, 16 Oct 2006 13:00:04 +0000 (13:00 +0000)
compiler/simplCore/Simplify.lhs

index bec02e6..2f881d5 100644 (file)
@@ -1014,7 +1014,7 @@ completeCall env var cont
                (if dopt Opt_D_dump_inlinings dflags then
                   pprTrace "Inlining done" (vcat [
                        text "Before:" <+> ppr var <+> sep (map pprParendExpr args),
-                       text "Inlined fn: " <+> ppr unfolding,
+                       text "Inlined fn: " $$ nest 2 (ppr unfolding),
                        text "Cont:  " <+> ppr call_cont])
                 else
                        id)             $