summaryrefslogtreecommitdiff
path: root/testsuite/tests/polykinds/T18451a.hs
blob: 5611a7afcbe7e254790aff46684a7c5ac82ffc3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
{-# LANGUAGE RankNTypes #-}
{-# LANGUAGE PolyKinds #-}
{-# LANGUAGE DataKinds #-}
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"