From 309b08d29be94fe9fe27feea082ebe007557d425 Mon Sep 17 00:00:00 2001 From: simonpj Date: Wed, 10 Jul 2002 13:06:35 +0000 Subject: [PATCH] [project @ 2002-07-10 13:06:35 by simonpj] Improve error message; merge to STABLE --- ghc/compiler/typecheck/TcUnify.lhs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghc/compiler/typecheck/TcUnify.lhs b/ghc/compiler/typecheck/TcUnify.lhs index ee7f84d..795c61e 100644 --- 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} -- 1.7.10.4