From 8ae1a8cfdf8159ae1adf9890561b714542e87809 Mon Sep 17 00:00:00 2001 From: Manuel M T Chakravarty Date: Fri, 13 Jul 2007 07:37:29 +0000 Subject: [PATCH] init mg_inst_env when reading ext core --- compiler/typecheck/TcRnDriver.lhs | 1 + 1 file changed, 1 insertion(+) diff --git a/compiler/typecheck/TcRnDriver.lhs b/compiler/typecheck/TcRnDriver.lhs index 8659401..e5f945c 100644 --- a/compiler/typecheck/TcRnDriver.lhs +++ b/compiler/typecheck/TcRnDriver.lhs @@ -314,6 +314,7 @@ tcRnExtCore hsc_env (HsExtCore this_mod decls src_binds) mg_types = final_type_env, mg_insts = tcg_insts tcg_env, mg_fam_insts = tcg_fam_insts tcg_env, + mg_inst_env = tcg_inst_env tcg_env, mg_fam_inst_env = tcg_fam_inst_env tcg_env, mg_rules = [], mg_binds = core_binds, -- 1.7.10.4