[commit: ghc] wip/exp-types: Fix typo in error message (#11409) (b832748)
git at git.haskell.org
git at git.haskell.org
Thu Jan 14 04:29:47 UTC 2016
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/exp-types
Link : http://ghc.haskell.org/trac/ghc/changeset/b83274820db93cd24154f96f861106284a7f1dd2/ghc
>---------------------------------------------------------------
commit b83274820db93cd24154f96f861106284a7f1dd2
Author: Richard Eisenberg <eir at cis.upenn.edu>
Date: Mon Jan 11 21:29:23 2016 -0500
Fix typo in error message (#11409)
>---------------------------------------------------------------
b83274820db93cd24154f96f861106284a7f1dd2
compiler/typecheck/TcExpr.hs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/compiler/typecheck/TcExpr.hs b/compiler/typecheck/TcExpr.hs
index 93ba3db..d5a0016 100644
--- a/compiler/typecheck/TcExpr.hs
+++ b/compiler/typecheck/TcExpr.hs
@@ -1178,7 +1178,7 @@ tcArgs fun orig_fun_ty fun_orig orig_args herald
ty_app_err ty arg
= do { (_, ty) <- zonkTidyTcType emptyTidyEnv ty
; failWith $
- text "Cannot not apply expression of type" <+> quotes (ppr ty) $$
+ text "Cannot apply expression of type" <+> quotes (ppr ty) $$
text "to a visible type argument" <+> quotes (ppr arg) }
----------------
More information about the ghc-commits
mailing list