Repository : ssh://g...@git.haskell.org/ghc On branch : master Link : http://ghc.haskell.org/trac/ghc/changeset/eafae362ddc838245b3a50e1fb039cb6f211f801/ghc
>--------------------------------------------------------------- commit eafae362ddc838245b3a50e1fb039cb6f211f801 Author: Austin Seipp <aus...@well-typed.com> Date: Fri Oct 11 22:05:37 2013 -0500 Remove outdated comment (#8434) Authored-by: Gergely Risko <gerg...@risko.hu> Signed-off-by: Austin Seipp <aus...@well-typed.com> >--------------------------------------------------------------- eafae362ddc838245b3a50e1fb039cb6f211f801 compiler/typecheck/TcRnDriver.lhs | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/compiler/typecheck/TcRnDriver.lhs b/compiler/typecheck/TcRnDriver.lhs index 8e5e7f2..f9f7abb 100644 --- a/compiler/typecheck/TcRnDriver.lhs +++ b/compiler/typecheck/TcRnDriver.lhs @@ -244,15 +244,7 @@ tcRnImports hsc_env this_mod import_decls = do { (rn_imports, rdr_env, imports, hpc_info) <- rnImports import_decls ; ; let { dep_mods :: ModuleNameEnv (ModuleName, IsBootInterface) - -- Make sure we record the dependencies from the DynFlags in the EPS or we - -- end up hitting the sanity check in LoadIface.loadInterface that - -- checks for unknown home-package modules being loaded. We put - -- these dependencies on the left so their (non-source) imports - -- take precedence over the (possibly-source) imports on the right. - -- We don't add them to any other field (e.g. the imp_dep_mods of - -- imports) because we don't want to load their instances etc. - ; dep_mods = listToUFM [(mod_nm, (mod_nm, False)) | mod_nm <- dynFlagDependencies (hsc_dflags hsc_env)] - `plusUFM` imp_dep_mods imports + ; dep_mods = imp_dep_mods imports -- We want instance declarations from all home-package -- modules below this one, including boot modules, except _______________________________________________ ghc-commits mailing list ghc-commits@haskell.org http://www.haskell.org/mailman/listinfo/ghc-commits