[commit: ghc] master: CoreLint: Use size-annotated ppr variant (29f8225)

git at git.haskell.org git at git.haskell.org
Thu Jul 16 22:07:50 UTC 2015


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/29f82250d81ace982d3231378bfb2eb4976fd456/ghc

>---------------------------------------------------------------

commit 29f82250d81ace982d3231378bfb2eb4976fd456
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Mon Jun 22 12:48:07 2015 +0200

    CoreLint: Use size-annotated ppr variant


>---------------------------------------------------------------

29f82250d81ace982d3231378bfb2eb4976fd456
 compiler/coreSyn/CoreLint.hs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/compiler/coreSyn/CoreLint.hs b/compiler/coreSyn/CoreLint.hs
index e5d0127..b00e1ac 100644
--- a/compiler/coreSyn/CoreLint.hs
+++ b/compiler/coreSyn/CoreLint.hs
@@ -210,7 +210,7 @@ dumpPassResult dflags unqual mb_flag hdr extra_info binds rules
     dump_doc  = vcat [ nest 2 extra_info
                      , size_doc
                      , blankLine
-                     , pprCoreBindings binds
+                     , pprCoreBindingsWithSize binds
                      , ppUnless (null rules) pp_rules ]
     pp_rules = vcat [ blankLine
                     , ptext (sLit "------ Local rules for imported ids --------")



More information about the ghc-commits mailing list