projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f84fa8a
)
Another wibble to the head-exploded error message (suggested by David Roundy)
author
simonpj@microsoft.com
<unknown>
Thu, 21 Jun 2007 14:11:44 +0000
(14:11 +0000)
committer
simonpj@microsoft.com
<unknown>
Thu, 21 Jun 2007 14:11:44 +0000
(14:11 +0000)
compiler/typecheck/TcPat.lhs
patch
|
blob
|
history
diff --git
a/compiler/typecheck/TcPat.lhs
b/compiler/typecheck/TcPat.lhs
index
a8e2d39
..
9cea0ea
100644
(file)
--- a/
compiler/typecheck/TcPat.lhs
+++ b/
compiler/typecheck/TcPat.lhs
@@
-920,7
+920,7
@@
patCtxt pat = Just (hang (ptext SLIT("In the pattern:"))
existentialExplode pat
= hang (vcat [text "My brain just exploded.",
text "I can't handle pattern bindings for existentially-quantified constructors.",
- text "Instead, use a case-expression to unpack the constructor.",
+ text "Instead, use a case-expression, or do-notation, to unpack the constructor.",
text "In the binding group for"])
4 (ppr pat)