Change typechecker-trace output slightly
authorsimonpj@microsoft.com <unknown>
Thu, 17 Feb 2011 17:59:04 +0000 (17:59 +0000)
committersimonpj@microsoft.com <unknown>
Thu, 17 Feb 2011 17:59:04 +0000 (17:59 +0000)
compiler/typecheck/TcSimplify.lhs

index ccdadee..55520fb 100644 (file)
@@ -768,13 +768,14 @@ solveNestedImplications just_given_inert unsolved_cans implics
   | otherwise 
   = do {  -- See Note [Preparing inert set for implications]
          -- Push the unsolved wanteds inwards, but as givens
-         traceTcS "solveWanteds: preparing inerts for implications {"  empty
-     
-       ; let pushed_givens    = givensFromWanteds unsolved_cans
+         let pushed_givens    = givensFromWanteds unsolved_cans
              tcs_untouchables = filterVarSet isFlexiTcsTv $
                                 tyVarsOfEvVarXs pushed_givens
              -- See Note [Extra TcsTv untouchables]
 
+       ; traceTcS "solveWanteds: preparing inerts for implications {"  
+                  (vcat [ppr tcs_untouchables, ppr pushed_givens])
+     
        ; (_, inert_for_implics) <- solveInteract just_given_inert pushed_givens
 
        ; traceTcS "solveWanteds: } now doing nested implications {" $