diff options
Diffstat (limited to 'testsuite/tests/polykinds/T18855.hs')
-rw-r--r-- | testsuite/tests/polykinds/T18855.hs | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/testsuite/tests/polykinds/T18855.hs b/testsuite/tests/polykinds/T18855.hs new file mode 100644 index 0000000000..131cd9c8e7 --- /dev/null +++ b/testsuite/tests/polykinds/T18855.hs @@ -0,0 +1,18 @@ +{-# LANGUAGE DataKinds #-} +{-# LANGUAGE PolyKinds #-} +{-# LANGUAGE RankNTypes #-} +{-# LANGUAGE StandaloneKindSignatures #-} +{-# LANGUAGE TypeFamilies #-} +module Bug where + +import Data.Kind + +type family Apply (f :: a -> b) (x :: a) :: b + +type F :: forall a. + forall (p :: forall bOne. Either a bOne -> Type) + -> forall bTwo. + forall (e :: Either a bTwo) + -> Apply p e + +type family F |