#7376: strict field + type constructor of kind * -> * or higher causes ghc panic
--------------------------------+-------------------------------------------
Reporter: wyfrn | Owner:
Type: bug | Status: new
Priority: normal | Component: Compiler
Version: 7.6.1 | Keywords:
Os: Linux | Architecture: x86_64 (amd64)
Failure: Compile-time crash | Testcase:
Blockedby: | Blocking:
Related: |
--------------------------------+-------------------------------------------
Example:
data Foo = Foo
{ strictField :: ! IO [String]
}
Remove the strictness annotation or put the type constructor in
parentheses and it works!
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7376>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs