X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fcompiler%2Ftypecheck%2FInst.lhs;h=c8a50d0be11814b905e4f57a305a015bda5f728c;hb=4e3255388e8b99ccdae290bfcb6cd666b8c93d4a;hp=ae64ae11e511e8ba3da5fc526d3d95a2aa951034;hpb=d32c5227315009f38355fe3233f0f4e5b1f61dc6;p=ghc-hetmet.git diff --git a/ghc/compiler/typecheck/Inst.lhs b/ghc/compiler/typecheck/Inst.lhs index ae64ae1..c8a50d0 100644 --- a/ghc/compiler/typecheck/Inst.lhs +++ b/ghc/compiler/typecheck/Inst.lhs @@ -766,10 +766,10 @@ record_dfun_usage dfun_id dfun_name = idName dfun_id tcGetInstEnvs :: TcM (InstEnv, InstEnv) --- Gets both the home-pkg inst env (includes module being compiled) --- and the external-package inst-env +-- Gets both the external-package inst-env +-- and the home-pkg inst env (includes module being compiled) tcGetInstEnvs = do { eps <- getEps; env <- getGblEnv; - return (tcg_inst_env env, eps_inst_env eps) } + return (eps_inst_env eps, tcg_inst_env env) } \end{code}