strict field + type constructor of kind * -> * or higher causes ghc panic
Example:
data Foo = Foo
{ strictField :: ! IO [String] }
Remove the strictness annotation or put the type constructor in parentheses and it works!
Trac metadata
Trac field | Value |
---|---|
Version | 7.6.1 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |