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:
f477a85
)
[project @ 2002-07-10 13:06:35 by simonpj]
author
simonpj
<unknown>
Wed, 10 Jul 2002 13:06:35 +0000
(13:06 +0000)
committer
simonpj
<unknown>
Wed, 10 Jul 2002 13:06:35 +0000
(13:06 +0000)
Improve error message; merge to STABLE
ghc/compiler/typecheck/TcUnify.lhs
patch
|
blob
|
history
diff --git
a/ghc/compiler/typecheck/TcUnify.lhs
b/ghc/compiler/typecheck/TcUnify.lhs
index
ee7f84d
..
795c61e
100644
(file)
--- a/
ghc/compiler/typecheck/TcUnify.lhs
+++ b/
ghc/compiler/typecheck/TcUnify.lhs
@@
-335,7
+335,7
@@
tcGen expected_ty extra_tvs thing_inside -- We expect expected_ty to be a forall
returnTc (mkCoercion co_fn, result, free_lie)
where
free_tvs = tyVarsOfType expected_ty `unionVarSet` extra_tvs
- sig_msg = ptext SLIT("When generalising the type of an expression")
+ sig_msg = ptext SLIT("type of an expression")
\end{code}