Commit e7158cc7 authored by's avatar
Browse files

Another wibble to the head-exploded error message (suggested by David Roundy)

parent f84fa8a3
......@@ -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)
Supports Markdown
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