Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Alex D
GHC
Commits
bc5b8fb6
Commit
bc5b8fb6
authored
Jun 03, 2008
by
simonpj@microsoft.com
Browse files
Fix Trac #2331 (error message suggestion)
parent
9d1247b3
Changes
1
Show whitespace changes
Inline
Side-by-side
compiler/parser/RdrHsSyn.lhs
View file @
bc5b8fb6
...
...
@@ -689,7 +689,7 @@ checkAPat loc e = case e of
| bang == bang_RDR
-> do { bang_on <- extension bangPatEnabled
; if bang_on then checkLPat e >>= (return . BangPat)
else parseError loc "Illegal bang-pattern (use -
fb
ang
-p
atterns)" }
else parseError loc "Illegal bang-pattern (use -
XB
ang
P
atterns)" }
ELazyPat e -> checkLPat e >>= (return . LazyPat)
EAsPat n e -> checkLPat e >>= (return . AsPat n)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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