summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <bgamari.foss@gmail.com>2017-11-02 12:07:50 -0400
committerBen Gamari <ben@smart-cactus.org>2017-11-02 13:20:26 -0400
commit36f0cb74c5f7a0a8f3d164e580f293fa07106064 (patch)
treeb69730bb36c57cc362642e23e1b91b140a1f4da6
parentb938576d151731b85314987fc550c17cfe824178 (diff)
downloadhaskell-36f0cb74c5f7a0a8f3d164e580f293fa07106064.tar.gz
TcRnDriver: Bracket family instance consistency output in -ddump-rn-trace
Reviewers: austin Subscribers: rwbarton, thomie Differential Revision: https://phabricator.haskell.org/D4141
-rw-r--r--compiler/typecheck/TcRnDriver.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/typecheck/TcRnDriver.hs b/compiler/typecheck/TcRnDriver.hs
index 105f88496a..fd63effbe6 100644
--- a/compiler/typecheck/TcRnDriver.hs
+++ b/compiler/typecheck/TcRnDriver.hs
@@ -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 } }