[commit: ghc] wip/T13861: Typos in comments [ci skip] (3b2fc5e)
git at git.haskell.org
git at git.haskell.org
Wed Dec 27 22:31:41 UTC 2017
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/T13861
Link : http://ghc.haskell.org/trac/ghc/changeset/3b2fc5e64eccf82d43d38f35045eac3f8f11d942/ghc
>---------------------------------------------------------------
commit 3b2fc5e64eccf82d43d38f35045eac3f8f11d942
Author: Gabor Greif <ggreif at gmail.com>
Date: Wed Dec 27 23:31:21 2017 +0100
Typos in comments [ci skip]
>---------------------------------------------------------------
3b2fc5e64eccf82d43d38f35045eac3f8f11d942
compiler/coreSyn/MkCore.hs | 2 +-
compiler/prelude/primops.txt.pp | 2 +-
compiler/typecheck/TcTyClsDecls.hs | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/compiler/coreSyn/MkCore.hs b/compiler/coreSyn/MkCore.hs
index c8f7366..72b6abf 100644
--- a/compiler/coreSyn/MkCore.hs
+++ b/compiler/coreSyn/MkCore.hs
@@ -180,7 +180,7 @@ mk_val_app fun arg arg_ty res_ty
--
-- This is Dangerous. But this is the only place we play this
-- game, mk_val_app returns an expression that does not have
- -- have a free wild-id. So the only thing that can go wrong
+ -- a free wild-id. So the only thing that can go wrong
-- is if you take apart this case expression, and pass a
-- fragment of it as the fun part of a 'mk_val_app'.
diff --git a/compiler/prelude/primops.txt.pp b/compiler/prelude/primops.txt.pp
index d6c06b1..1f4b574 100644
--- a/compiler/prelude/primops.txt.pp
+++ b/compiler/prelude/primops.txt.pp
@@ -2728,7 +2728,7 @@ binder-swap on the case, to give
\z. case x of y -> let v = dataToTag# x in ...
Now FloatOut might float that v-binding outside the \z. But that is
-bad because that might mean x gest evaluated much too early! (CorePrep
+bad because that might mean x gets evaluated much too early! (CorePrep
adds an eval to a dataToTag# call, to ensure that the argument really is
evaluated; see CorePrep Note [dataToTag magic].)
diff --git a/compiler/typecheck/TcTyClsDecls.hs b/compiler/typecheck/TcTyClsDecls.hs
index 113fb9d..bef1c06 100644
--- a/compiler/typecheck/TcTyClsDecls.hs
+++ b/compiler/typecheck/TcTyClsDecls.hs
@@ -2871,7 +2871,7 @@ checkFamFlag tc_name
Haskell 2010 is supposed to reject
class C a where
op :: Eq a => a -> a
-where the method type costrains only the class variable(s). (The extension
+where the method type constrains only the class variable(s). (The extension
-XConstrainedClassMethods switches off this check.) But regardless
we should not reject
class C a where
More information about the ghc-commits
mailing list