X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=compiler%2Ftypecheck%2FTcRnMonad.lhs;h=3272dea69be6c42b2ebb7d85580a7787bf066f63;hp=12f0cf6d320b495efdc809cd4fdcf34c69592d8e;hb=b00b5bc04ff36a551552470060064f0b7d84ca30;hpb=7e623a3a6c4fa75bae5be29a9fca015f98f1c30b diff --git a/compiler/typecheck/TcRnMonad.lhs b/compiler/typecheck/TcRnMonad.lhs index 12f0cf6..3272dea 100644 --- a/compiler/typecheck/TcRnMonad.lhs +++ b/compiler/typecheck/TcRnMonad.lhs @@ -108,7 +108,7 @@ initTc hsc_env hsc_src mod do_this tcg_fam_inst_env = emptyFamInstEnv, tcg_inst_uses = dfuns_var, tcg_th_used = th_var, - tcg_exports = emptyNameSet, + tcg_exports = [], tcg_imports = init_imports, tcg_dus = emptyDUs, tcg_rn_imports = Nothing, @@ -156,8 +156,7 @@ initTc hsc_env hsc_src mod do_this return (msgs, final_res) } where - init_imports = emptyImportAvails {imp_env = - unitUFM (moduleName mod) emptyNameSet} + init_imports = emptyImportAvails {imp_env = unitUFM (moduleName mod) []} -- Initialise tcg_imports with an empty set of bindings for -- this module, so that if we see 'module M' in the export -- list, and there are no bindings in M, we don't bleat