diff options
author | simonpj <unknown> | 2004-10-11 12:45:51 +0000 |
---|---|---|
committer | simonpj <unknown> | 2004-10-11 12:45:51 +0000 |
commit | 3163b5473bbcdf31113e4d08b2a9c76aebc0c907 (patch) | |
tree | 30266c405c49f6047bdbca50c2c0c76005021019 /ghc | |
parent | 4ad8b119584683c44e4d1d5a9588971542bc36df (diff) | |
download | haskell-3163b5473bbcdf31113e4d08b2a9c76aebc0c907.tar.gz |
[project @ 2004-10-11 12:45:51 by simonpj]
Improve error message
Diffstat (limited to 'ghc')
-rw-r--r-- | ghc/compiler/rename/RnBinds.lhs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ghc/compiler/rename/RnBinds.lhs b/ghc/compiler/rename/RnBinds.lhs index 57201211d9..3d88d3231e 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} |