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
e2b5796d
Commit
e2b5796d
authored
Jun 21, 2007
by
simonpj@microsoft.com
Browse files
Improve 'my head exploded' error message
parent
13c7a6e6
Changes
1
Hide whitespace changes
Inline
Side-by-side
compiler/typecheck/TcPat.lhs
View file @
e2b5796d
...
...
@@ -920,6 +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 "In the binding group for"])
4 (ppr pat)
...
...
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