[commit: ghc] master: Fix commented out debugging code in ByteCodeGen (49560ba)

git at git.haskell.org git at git.haskell.org
Thu Apr 14 12:15:03 UTC 2016


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/49560ba78c8ac7319665735eb33bfa37cc04d849/ghc

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

commit 49560ba78c8ac7319665735eb33bfa37cc04d849
Author: Bartosz Nitka <niteria at gmail.com>
Date:   Thu Apr 14 05:16:52 2016 -0700

    Fix commented out debugging code in ByteCodeGen
    
    It changed from VarSet to DVarSet some time ago.


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

49560ba78c8ac7319665735eb33bfa37cc04d849
 compiler/ghci/ByteCodeGen.hs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/compiler/ghci/ByteCodeGen.hs b/compiler/ghci/ByteCodeGen.hs
index fd186c7..f1d0670 100644
--- a/compiler/ghci/ByteCodeGen.hs
+++ b/compiler/ghci/ByteCodeGen.hs
@@ -288,7 +288,7 @@ schemeR fvs (nm, rhs)
 {-
    | trace (showSDoc (
               (char ' '
-               $$ (ppr.filter (not.isTyVar).varSetElems.fst) rhs
+               $$ (ppr.filter (not.isTyVar).dVarSetElems.fst) rhs
                $$ pprCoreExpr (deAnnotate rhs)
                $$ char ' '
               ))) False



More information about the ghc-commits mailing list