[commit: ghc] ghc-8.0: Typos in comments (8cc82bc)
git at git.haskell.org
git at git.haskell.org
Thu Jan 21 12:27:19 UTC 2016
Repository : ssh://git@git.haskell.org/ghc
On branch : ghc-8.0
Link : http://ghc.haskell.org/trac/ghc/changeset/8cc82bce18f7834c941a10cc4e94eac237aed323/ghc
>---------------------------------------------------------------
commit 8cc82bce18f7834c941a10cc4e94eac237aed323
Author: Gabor Greif <ggreif at gmail.com>
Date: Tue Jan 19 12:10:13 2016 +0100
Typos in comments
(cherry picked from commit 80265c4c3c827695e92dd9620faf47e064b5da37)
>---------------------------------------------------------------
8cc82bce18f7834c941a10cc4e94eac237aed323
compiler/typecheck/TcRnDriver.hs | 2 +-
compiler/typecheck/TcTyClsDecls.hs | 2 +-
compiler/typecheck/TcValidity.hs | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/compiler/typecheck/TcRnDriver.hs b/compiler/typecheck/TcRnDriver.hs
index 3ded08a..90d07a3 100644
--- a/compiler/typecheck/TcRnDriver.hs
+++ b/compiler/typecheck/TcRnDriver.hs
@@ -657,7 +657,7 @@ tcRnHsBootDecls hsc_src decls
; mapM_ (badBootDecl hsc_src "rule") rule_decls
; mapM_ (badBootDecl hsc_src "vect") vect_decls
- -- Typecheck type/class/isntance decls
+ -- Typecheck type/class/instance decls
; traceTc "Tc2 (boot)" empty
; (tcg_env, inst_infos, _deriv_binds)
<- tcTyClsInstDecls tycl_decls inst_decls deriv_decls val_binds
diff --git a/compiler/typecheck/TcTyClsDecls.hs b/compiler/typecheck/TcTyClsDecls.hs
index 4ad453d..2b3a570 100644
--- a/compiler/typecheck/TcTyClsDecls.hs
+++ b/compiler/typecheck/TcTyClsDecls.hs
@@ -1026,7 +1026,7 @@ However we store the default rhs (Proxy x -> y) in F's TyCon, using
F's own type variables, so we need to convert it to (Proxy a -> b).
We do this by calling tcMatchTys to match them up. This also ensures
that x's kind matches a's and similarly for y and b. The error
-message isnt' great, mind you. (Trac #11361 was caused by not doing a
+message isn't great, mind you. (Trac #11361 was caused by not doing a
proper tcMatchTys here.) -}
-------------------------
diff --git a/compiler/typecheck/TcValidity.hs b/compiler/typecheck/TcValidity.hs
index 2ee94d0..ac6a125 100644
--- a/compiler/typecheck/TcValidity.hs
+++ b/compiler/typecheck/TcValidity.hs
@@ -946,7 +946,7 @@ checkValidInstHead ctxt clas cls_args
(instTypeErr clas cls_args abstract_class_msg)
-- Check language restrictions;
- -- but not for SPECIALISE isntance pragmas
+ -- but not for SPECIALISE instance pragmas
; let ty_args = filterOutInvisibleTypes (classTyCon clas) cls_args
; unless spec_inst_prag $
do { checkTc (xopt LangExt.TypeSynonymInstances dflags ||
More information about the ghc-commits
mailing list