[GHC] #12922: Kind classes compile with PolyKinds

GHC ghc-devs at haskell.org
Mon Dec 5 00:42:18 UTC 2016


#12922: Kind classes compile with PolyKinds
-------------------------------------+-------------------------------------
        Reporter:  Tritlo            |                Owner:
            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:                    |
-------------------------------------+-------------------------------------

Comment (by RyanGlScott):

 For a simpler example, this compiles in GHC 8.0.1 (but probably shouldn't)
 without `TypeInType`:

 {{{#!hs
 {-# LANGUAGE PolyKinds #-}

 type KindOf (a :: k) = k
 }}}

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12922#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list