Parse error with let inside of do with { }
This line causes the error:
err = do { let x = 1 ; Just x }
Breaking the line before the ;
fixes the error.
This was tested on today's (27 Aug) HEAD.
Trac metadata
Trac field | Value |
---|---|
Version | 7.7 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler (Parser) |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |