From: simonpj Date: Mon, 3 Feb 2003 15:41:52 +0000 (+0000) Subject: [project @ 2003-02-03 15:41:52 by simonpj] X-Git-Tag: Approx_11550_changesets_converted~1216 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=9f24a6953e29dbee1b299099553fc4dd34029a39;p=ghc-hetmet.git [project @ 2003-02-03 15:41:52 by simonpj] Modify error message --- diff --git a/ghc/compiler/typecheck/TcUnify.lhs b/ghc/compiler/typecheck/TcUnify.lhs index f8b402e..fd22557 100644 --- a/ghc/compiler/typecheck/TcUnify.lhs +++ b/ghc/compiler/typecheck/TcUnify.lhs @@ -332,7 +332,7 @@ tcGen expected_ty extra_tvs thing_inside -- We expect expected_ty to be a forall returnM (mkCoercion co_fn, result) where free_tvs = tyVarsOfType expected_ty `unionVarSet` extra_tvs - sig_msg = ptext SLIT("type of an expression") + sig_msg = ptext SLIT("expected type of an expression") \end{code}