[commit: ghc] master: Comments and white space only (cd48797)
git at git.haskell.org
git at git.haskell.org
Tue Jul 21 13:20:51 UTC 2015
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/cd48797a59b715ca13054d68b995cd4a2fdbc636/ghc
>---------------------------------------------------------------
commit cd48797a59b715ca13054d68b995cd4a2fdbc636
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date: Mon Jul 20 14:40:20 2015 +0100
Comments and white space only
>---------------------------------------------------------------
cd48797a59b715ca13054d68b995cd4a2fdbc636
compiler/main/HscTypes.hs | 36 ++++++++++++++++++------------------
1 file changed, 18 insertions(+), 18 deletions(-)
diff --git a/compiler/main/HscTypes.hs b/compiler/main/HscTypes.hs
index 0dd6341..cf2c64b 100644
--- a/compiler/main/HscTypes.hs
+++ b/compiler/main/HscTypes.hs
@@ -1080,23 +1080,24 @@ data ModGuts
-- (produced by desugarer & consumed by vectoriser)
mg_vect_info :: !VectInfo, -- ^ Pool of vectorised declarations in the module
- -- The next two fields are unusual, because they give instance
- -- environments for *all* modules in the home package, including
- -- this module, rather than for *just* this module.
- -- Reason: when looking up an instance we don't want to have to
- -- look at each module in the home package in turn
- mg_inst_env :: InstEnv,
- -- ^ Class instance environment from /home-package/ modules (including
- -- this one); c.f. 'tcg_inst_env'
- mg_fam_inst_env :: FamInstEnv,
- -- ^ Type-family instance environment for /home-package/ modules
- -- (including this one); c.f. 'tcg_fam_inst_env'
- mg_safe_haskell :: SafeHaskellMode,
- -- ^ Safe Haskell mode
- mg_trust_pkg :: Bool,
- -- ^ Do we need to trust our own package for Safe Haskell?
- -- See Note [RnNames . Trust Own Package]
- mg_dependent_files :: [FilePath] -- ^ dependencies from addDependentFile
+ -- The next two fields are unusual, because they give instance
+ -- environments for *all* modules in the home package, including
+ -- this module, rather than for *just* this module.
+ -- Reason: when looking up an instance we don't want to have to
+ -- look at each module in the home package in turn
+ mg_inst_env :: InstEnv, -- ^ Class instance environment for
+ -- /home-package/ modules (including this
+ -- one); c.f. 'tcg_inst_env'
+ mg_fam_inst_env :: FamInstEnv, -- ^ Type-family instance environment for
+ -- /home-package/ modules (including this
+ -- one); c.f. 'tcg_fam_inst_env'
+
+ mg_safe_haskell :: SafeHaskellMode, -- ^ Safe Haskell mode
+ mg_trust_pkg :: Bool, -- ^ Do we need to trust our
+ -- own package for Safe Haskell?
+ -- See Note [RnNames . Trust Own Package]
+
+ mg_dependent_files :: [FilePath] -- ^ Dependencies from addDependentFile
}
-- The ModGuts takes on several slightly different forms:
@@ -1105,7 +1106,6 @@ data ModGuts
-- mg_rules Orphan rules only (local ones now attached to binds)
-- mg_binds With rules attached
-
---------------------------------------------------------
-- The Tidy pass forks the information about this module:
-- * one lot goes to interface file generation (ModIface)
More information about the ghc-commits
mailing list