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

import Data.Kind
import Data.Proxy

type Const a b = a

foo :: forall a b (c :: Const Type b). Proxy '[a, c]
foo = error "ruk"