[commit: ghc] ghc-7.10: Remove pprTrace from Richard (525ada5)

git at git.haskell.org git at git.haskell.org
Thu Nov 5 10:54:45 UTC 2015


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

On branch  : ghc-7.10
Link       : http://ghc.haskell.org/trac/ghc/changeset/525ada5aba10a5b8ecf73de9f19f2be7f44ed0f9/ghc

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

commit 525ada5aba10a5b8ecf73de9f19f2be7f44ed0f9
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Wed Nov 4 14:23:49 2015 +0100

    Remove pprTrace from Richard


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

525ada5aba10a5b8ecf73de9f19f2be7f44ed0f9
 compiler/typecheck/TcErrors.hs | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/compiler/typecheck/TcErrors.hs b/compiler/typecheck/TcErrors.hs
index f5fc2ea..63ad847 100644
--- a/compiler/typecheck/TcErrors.hs
+++ b/compiler/typecheck/TcErrors.hs
@@ -815,9 +815,7 @@ mkTyVarEqErr dflags ctxt extra ct oriented tv1 ty2
                             -- be oriented the other way round;
                             -- see TcCanonical.canEqTyVarTyVar
   || isSigTyVar tv1 && not (isTyVarTy ty2)
-  || pprTrace "RAE1" (ppr ct $$ ppr tv1 $$ ppr ty2 $$
-                      ppr (isTyVarUnderDatatype tv1 ty2))
-     (ctEqRel ct == ReprEq && not (isTyVarUnderDatatype tv1 ty2))
+  || ctEqRel ct == ReprEq && not (isTyVarUnderDatatype tv1 ty2)
      -- the cases below don't really apply to ReprEq (except occurs check)
   = mkErrorMsg ctxt ct (vcat [ misMatchOrCND ctxt ct oriented ty1 ty2
                              , extraTyVarInfo ctxt tv1 ty2



More information about the ghc-commits mailing list