Ticket #6039 (closed bug: fixed)
Ill-sorted kinds crash GHC
Description
GHC's sort-checker for kinds is not being terribly clever
{-# LANGUAGE PolyKinds, KindSignatures #-}
module Foo where
data T (a :: j k) = MkT
crashes the HEAD with
ghc-stage1: panic! (the 'impossible' happened)
(GHC version 7.5 for x86_64-unknown-linux):
kindFunResult ghc-prim:GHC.Prim.BOX{(w) tc 347}
Change History
Note: See
TracTickets for help on using
tickets.
