[commit: ghc] master: Improve error message (434d783)
git at git.haskell.org
git at git.haskell.org
Fri Nov 15 11:26:02 UTC 2013
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/434d78360154684a0d5086643a572c955de90c7d/ghc
>---------------------------------------------------------------
commit 434d78360154684a0d5086643a572c955de90c7d
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date: Fri Nov 15 11:25:48 2013 +0000
Improve error message
Accommodating Simon M's suggestion (Trac #4268, comment 17)
>---------------------------------------------------------------
434d78360154684a0d5086643a572c955de90c7d
compiler/typecheck/TcAnnotations.lhs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/compiler/typecheck/TcAnnotations.lhs b/compiler/typecheck/TcAnnotations.lhs
index 7c72dd7..d320b58 100644
--- a/compiler/typecheck/TcAnnotations.lhs
+++ b/compiler/typecheck/TcAnnotations.lhs
@@ -32,7 +32,7 @@ tcAnnotations [] = return []
tcAnnotations anns@(L loc _ : _)
= do { setSrcSpan loc $ addWarnTc $
(ptext (sLit "Ignoring ANN annotation") <> plural anns <> comma
- <+> ptext (sLit "because this is a stage-1 compiler"))
+ <+> ptext (sLit "because this is a stage-1 compiler or doesn't support GHCi"))
; return [] }
#else
More information about the ghc-commits
mailing list