family is treated as keyword in types even without TypeFamilies enabled
The following is as far as I know correct H2010 code, but breaks in GHC:
GHCi, version 7.10.2: http://www.haskell.org/ghc/ :? for help
Prelude> type Test family = family
<interactive>:2:11: parse error on input `family'
Prelude>
Trac metadata
Trac field | Value |
---|---|
Version | 7.10.2 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | low |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | oerjan |
Operating system | |
Architecture |