projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8af6b8
)
[project @ 2001-11-19 16:33:17 by simonpj]
author
simonpj
<unknown>
Mon, 19 Nov 2001 16:33:17 +0000
(16:33 +0000)
committer
simonpj
<unknown>
Mon, 19 Nov 2001 16:33:17 +0000
(16:33 +0000)
Improve error msg
ghc/compiler/typecheck/TcMType.lhs
patch
|
blob
|
history
diff --git
a/ghc/compiler/typecheck/TcMType.lhs
b/ghc/compiler/typecheck/TcMType.lhs
index
d296057
..
e5201a9
100644
(file)
--- a/
ghc/compiler/typecheck/TcMType.lhs
+++ b/
ghc/compiler/typecheck/TcMType.lhs
@@
-795,7
+795,7
@@
checkAmbiguity forall_tyvars theta tau
ambigErr pred
= sep [ptext SLIT("Ambiguous constraint") <+> quotes (pprPred pred),
nest 4 (ptext SLIT("At least one of the forall'd type variables mentioned by the constraint") $$
- ptext SLIT("must be reachable from the type after the =>"))]
+ ptext SLIT("must be reachable from the type after the '=>'"))]
freeErr pred