From 3163b5473bbcdf31113e4d08b2a9c76aebc0c907 Mon Sep 17 00:00:00 2001 From: simonpj Date: Mon, 11 Oct 2004 12:45:51 +0000 Subject: [PATCH] [project @ 2004-10-11 12:45:51 by simonpj] Improve error message --- ghc/compiler/rename/RnBinds.lhs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghc/compiler/rename/RnBinds.lhs b/ghc/compiler/rename/RnBinds.lhs index 5720121..3d88d32 100644 --- a/ghc/compiler/rename/RnBinds.lhs +++ b/ghc/compiler/rename/RnBinds.lhs @@ -531,6 +531,6 @@ missingSigWarn var loc = nameSrcLoc var -- TODO: make a proper span methodBindErr mbind - = hang (ptext SLIT("Can't handle multiple methods defined by one pattern binding")) + = hang (ptext SLIT("Pattern bindings (except simple variables) not allowed in instance declarations")) 4 (ppr mbind) \end{code} -- 1.7.10.4