X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2Ftypecheck%2FTcSimplify.lhs;h=ee4be27346bc0a4738e508c26a1663f35ce051b5;hb=44674ca1081895c95e04707d74779d3f887c430e;hp=acc5b3cd9a2bcc5a8618fd03fd2187fedbc0a66d;hpb=debb7b80e707c343a3a7d8993ffab19b83e5c52b;p=ghc-hetmet.git diff --git a/compiler/typecheck/TcSimplify.lhs b/compiler/typecheck/TcSimplify.lhs index acc5b3c..ee4be27 100644 --- a/compiler/typecheck/TcSimplify.lhs +++ b/compiler/typecheck/TcSimplify.lhs @@ -18,6 +18,8 @@ import TcInteract import Inst import Var import VarSet +import VarEnv ( varEnvElts ) + import Name import NameEnv ( emptyNameEnv ) import Bag @@ -629,10 +631,13 @@ solveWanteds inert wanteds , text "inert =" <+> ppr inert ] ; (unsolved_flats, unsolved_implics) <- simpl_loop 1 can_flats implic_wanteds + ; bb <- getTcEvBindsBag ; traceTcS "solveWanteds }" $ vcat [ text "wanteds =" <+> ppr wanteds , text "unsolved_flats =" <+> ppr unsolved_flats - , text "unsolved_implics =" <+> ppr unsolved_implics ] + , text "unsolved_implics =" <+> ppr unsolved_implics + , text "current evbinds =" <+> vcat (map ppr (varEnvElts bb)) + ] ; return (unsolved_flats, unsolved_implics) } where simpl_loop :: Int