summaryrefslogtreecommitdiff
path: root/testsuite/tests/polykinds/T18451.hs
blob: da14360ea5ff0c875bdd9a759efaf7cc1147d6db (plain)
1
2
3
4
5
6
7
8
9
10
{-# LANGUAGE RankNTypes #-}
{-# LANGUAGE TypeInType #-}
module Bug where

import Data.Kind

type Const a b = a
data SameKind :: k -> k -> Type

type T (k :: Const Type a) = forall (b :: k). SameKind a b