
#12922: Kind classes compile with PolyKinds -------------------------------------+------------------------------------- Reporter: Tritlo | Owner: goldfire Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.0.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by goldfire): * owner: => goldfire Comment: But look at the OP's {{{ class Addable k where type (a :: k) + (b :: k) :: k }}} where the class variable `k` is used as a kind. This indeed should not be allowed unless `TypeInType` is on. I'll put this in my queue. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12922#comment:6 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler