Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
3163b547
Commit
3163b547
authored
Oct 11, 2004
by
simonpj
Browse files
[project @ 2004-10-11 12:45:51 by simonpj]
Improve error message
parent
4ad8b119
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/compiler/rename/RnBinds.lhs
View file @
3163b547
...
...
@@ -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}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment