[GHC] #12922: Kind classes compile with PolyKinds
GHC
ghc-devs at haskell.org
Mon Dec 5 13:15:12 UTC 2016
#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
More information about the ghc-tickets
mailing list