TcRnDriver: Bracket family instance consistency output in -ddump-rn-trace
authorBen Gamari <bgamari.foss@gmail.com>
Thu, 2 Nov 2017 16:07:50 +0000 (12:07 -0400)
committerBen Gamari <ben@smart-cactus.org>
Thu, 2 Nov 2017 17:20:26 +0000 (13:20 -0400)
Reviewers: austin

Subscribers: rwbarton, thomie

Differential Revision: https://phabricator.haskell.org/D4141

compiler/typecheck/TcRnDriver.hs

index 105f884..fd63eff 100644 (file)
@@ -366,11 +366,12 @@ tcRnImports hsc_env import_decls
 
                 -- Check type-family consistency between imports.
                 -- See Note [The type family instance consistency story]
-        ; traceRn "rn1: checking family instance consistency" empty
+        ; traceRn "rn1: checking family instance consistency {" empty
         ; let { dir_imp_mods = moduleEnvKeys
                              . imp_mods
                              $ imports }
         ; tcg_env <- checkFamInstConsistency dir_imp_mods ;
+        ; traceRn "rn1: } checking family instance consistency" empty
 
         ; return tcg_env } }