projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
4ad8b11
)
[project @ 2004-10-11 12:45:51 by simonpj]
author
simonpj
<unknown>
Mon, 11 Oct 2004 12:45:51 +0000
(12:45 +0000)
committer
simonpj
<unknown>
Mon, 11 Oct 2004 12:45:51 +0000
(12:45 +0000)
Improve error message
ghc/compiler/rename/RnBinds.lhs
patch
|
blob
|
history
diff --git
a/ghc/compiler/rename/RnBinds.lhs
b/ghc/compiler/rename/RnBinds.lhs
index
5720121
..
3d88d32
100644
(file)
--- 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}