Repository : ssh://darcs.haskell.org//srv/darcs/ghc

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/ebd7226a44b8adea618adf007a55dae497846496

>---------------------------------------------------------------

commit ebd7226a44b8adea618adf007a55dae497846496
Author: Simon Peyton Jones <[email protected]>
Date:   Wed Apr 25 15:28:28 2012 +0100

    Fix typo

>---------------------------------------------------------------

 compiler/typecheck/TcHsType.lhs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/compiler/typecheck/TcHsType.lhs b/compiler/typecheck/TcHsType.lhs
index 536772a..0a01029 100644
--- a/compiler/typecheck/TcHsType.lhs
+++ b/compiler/typecheck/TcHsType.lhs
@@ -1365,7 +1365,7 @@ tc_kind_var_app name arg_kis
           Just (ATyVar _ kind_var) 
              | not (isKindVar kind_var) 
              -> failWithTc (ptext (sLit "Type variable") <+> quotes (ppr 
kind_var)
-                            <+> ptext (sLit "used bas a kind"))
+                            <+> ptext (sLit "used as a kind"))
              | not (null arg_kis) -- Kind variables always have kind BOX, 
                                   -- so cannot be applied to anything
              -> failWithTc (ptext (sLit "Kind variable") <+> quotes (ppr name)



_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to