Commit 3163b547 authored by simonpj's avatar simonpj
Browse files

[project @ 2004-10-11 12:45:51 by simonpj]

Improve error message
parent 4ad8b119
......@@ -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}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment