Rework GHC's treatment of constraints in kinds
GHC 8.6 accepts
data Q :: Eq a => Type
It shouldn't, as we can't have Eq a as a constraint in kinds. Note that writing a constructor for Q is rejected.
Trac metadata
| Trac field | Value |
|---|---|
| Version | 8.6.3 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Compiler |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture |
Edited by Ryan Scott