[commit: ghc] master: TcRnDriver: Bracket family instance consistency output in -ddump-rn-trace (36f0cb7)
git at git.haskell.org
git at git.haskell.org
Thu Nov 2 17:31:04 UTC 2017
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/36f0cb74c5f7a0a8f3d164e580f293fa07106064/ghc
>---------------------------------------------------------------
commit 36f0cb74c5f7a0a8f3d164e580f293fa07106064
Author: Ben Gamari <bgamari.foss at gmail.com>
Date: Thu Nov 2 12:07:50 2017 -0400
TcRnDriver: Bracket family instance consistency output in -ddump-rn-trace
Reviewers: austin
Subscribers: rwbarton, thomie
Differential Revision: https://phabricator.haskell.org/D4141
>---------------------------------------------------------------
36f0cb74c5f7a0a8f3d164e580f293fa07106064
compiler/typecheck/TcRnDriver.hs | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/compiler/typecheck/TcRnDriver.hs b/compiler/typecheck/TcRnDriver.hs
index 105f884..fd63eff 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 } }
More information about the ghc-commits
mailing list