Parsing of guards, and type signatures
According to the report, this:
foo
| True :: Bool
= 'a'
shouldn't be accepted, but GHC accepts it.
Discussion here: http://www.haskell.org/pipermail/haskell-prime/2010-May/003183.html
Trac metadata
Trac field | Value |
---|---|
Version | 6.12.2 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler (Parser) |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |