Kind operators not parsed
Take the following module:
{-# LANGUAGE DataKinds, TypeOperators, TypeFamilies #-}
data a + b = Inl a | Inr b
type family Foo :: Bool + Bool
HEAD produces
/Users/rae/temp/Bug.hs:5:25: parse error on input ‛+’
It seems that type operators promoted to kinds are not parsed correctly.
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 |