[commit: ghc] master: Spelling in comments (40698fe)
git at git.haskell.org
git at git.haskell.org
Fri Jun 19 12:54:03 UTC 2015
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/40698fec2e63a651ebe6b5f67065f7a736d308a1/ghc
>---------------------------------------------------------------
commit 40698fec2e63a651ebe6b5f67065f7a736d308a1
Author: Gabor Greif <ggreif at gmail.com>
Date: Tue Jun 16 13:14:38 2015 +0200
Spelling in comments
>---------------------------------------------------------------
40698fec2e63a651ebe6b5f67065f7a736d308a1
compiler/iface/TcIface.hs | 2 +-
compiler/types/FamInstEnv.hs | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/compiler/iface/TcIface.hs b/compiler/iface/TcIface.hs
index 2553643..7d6d1a6 100644
--- a/compiler/iface/TcIface.hs
+++ b/compiler/iface/TcIface.hs
@@ -647,7 +647,7 @@ tcIfaceRule (IfaceRule {ifRuleName = name, ifActivation = act, ifRuleBndrs = bnd
-- We could have stored the ru_rough field in the iface file
-- but that would be redundant, I think.
-- The only wrinkle is that we must not be deceived by
- -- type syononyms at the top of a type arg. Since
+ -- type synonyms at the top of a type arg. Since
-- we can't tell at this point, we are careful not
-- to write them out in coreRuleToIfaceRule
ifTopFreeName :: IfaceExpr -> Maybe Name
diff --git a/compiler/types/FamInstEnv.hs b/compiler/types/FamInstEnv.hs
index 9c53138..ee92996 100644
--- a/compiler/types/FamInstEnv.hs
+++ b/compiler/types/FamInstEnv.hs
@@ -951,7 +951,7 @@ normaliseType :: FamInstEnvs -- environment with family instances
-- Normalise the input type, by eliminating *all* type-function redexes
-- but *not* newtypes (which are visible to the programmer)
-- Returns with Refl if nothing happens
--- Try to not to disturb type syonyms if possible
+-- Try to not to disturb type synonyms if possible
normaliseType env role (TyConApp tc tys)
= normaliseTcApp env role tc tys
More information about the ghc-commits
mailing list