UnboxedTuple makes overloaded labels fail to parse
This works (removing spaces)
-- user = ( #login := "themoritz", #id := 3522732 )
user :: User
user = (#login := "themoritz", #id := 3522732)
but it doesn't when UnboxedTuples
are enabled:
-- tWKw.hs:63:46: error: parse error on input ‘)’
user = (#login := "themoritz", #id := 3522732)
Trac metadata
Trac field | Value |
---|---|
Version | 8.0.1 |
Type | Bug |
TypeOfFailure | ValidProgramRejected |
Priority | normal |
Resolution | Unresolved |
Component | Compiler (Parser) |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |