
#9301: Rank-2 constraints are assigned kind * -------------------------------------+------------------------------------ Reporter: heisenbug | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.8.2 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: None/Unknown | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: -------------------------------------+------------------------------------ Comment (by heisenbug): Ooops, just repeated this experiment with 7.9.20140712 and now I get: {{{ strangelet.hs:3:16: Illegal constraint: forall t. Num t In the type signature for ‘strangelet’: strangelet :: (forall t. Num t) => () Failed, modules loaded: none. }}} So that type gets rejected. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9301#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler