summaryrefslogtreecommitdiff
path: root/compiler/GHC/Core/TyCo/Subst.hs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/GHC/Core/TyCo/Subst.hs')
-rw-r--r--compiler/GHC/Core/TyCo/Subst.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/GHC/Core/TyCo/Subst.hs b/compiler/GHC/Core/TyCo/Subst.hs
index 32817ca6c7..a5cb32e38e 100644
--- a/compiler/GHC/Core/TyCo/Subst.hs
+++ b/compiler/GHC/Core/TyCo/Subst.hs
@@ -113,7 +113,7 @@ data TCvSubst
TvSubstEnv -- Substitutes both type and kind variables
CvSubstEnv -- Substitutes coercion variables
-- See Note [Substitutions apply only once]
- -- and Note [Extending the TvSubstEnv]
+ -- and Note [Extending the TCvSubstEnv]
-- and Note [Substituting types and coercions]
-- and Note [The substitution invariant]
@@ -258,7 +258,7 @@ mkEmptyTCvSubst :: InScopeSet -> TCvSubst
mkEmptyTCvSubst is = TCvSubst is emptyTvSubstEnv emptyCvSubstEnv
isEmptyTCvSubst :: TCvSubst -> Bool
- -- See Note [Extending the TvSubstEnv]
+ -- See Note [Extending the TCvSubstEnv]
isEmptyTCvSubst (TCvSubst _ tenv cenv) = isEmptyVarEnv tenv && isEmptyVarEnv cenv
mkTCvSubst :: InScopeSet -> (TvSubstEnv, CvSubstEnv) -> TCvSubst