diff options
author | Ian Lynagh <ian@well-typed.com> | 2013-02-01 15:23:39 +0000 |
---|---|---|
committer | Ian Lynagh <ian@well-typed.com> | 2013-02-01 15:34:33 +0000 |
commit | d2169af1b312c698ade627c26416a7527f1c46b1 (patch) | |
tree | a3ac015e34f2ac11502ea357fb20c91f2cdd95e2 /packages | |
parent | 329c6cbdba84657b32c3049f3f73d89d475b4cad (diff) | |
download | haskell-d2169af1b312c698ade627c26416a7527f1c46b1.tar.gz |
Improve an error message; fixes #984
This code:
f _ = do
x <- computation
case () of
_ ->
result <- computation
case () of () -> undefined
Now gives this error:
Parse error in pattern: case () of { _ -> result }
Possibly caused by a missing 'do'?
Diffstat (limited to 'packages')
0 files changed, 0 insertions, 0 deletions