summaryrefslogtreecommitdiff
path: root/testsuite/tests/polykinds/T14450.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/polykinds/T14450.hs')
-rw-r--r--testsuite/tests/polykinds/T14450.hs8
1 files changed, 5 insertions, 3 deletions
diff --git a/testsuite/tests/polykinds/T14450.hs b/testsuite/tests/polykinds/T14450.hs
index 8571829619..6e37bf96bd 100644
--- a/testsuite/tests/polykinds/T14450.hs
+++ b/testsuite/tests/polykinds/T14450.hs
@@ -1,6 +1,6 @@
{-# Language KindSignatures, TypeOperators, PolyKinds, TypeOperators,
ConstraintKinds, TypeFamilies, DataKinds, GADTs,
- AllowAmbiguousTypes, InstanceSigs #-}
+ AllowAmbiguousTypes, InstanceSigs, StandaloneKindSignatures #-}
module T14450 where
@@ -12,9 +12,11 @@ type a ~> b = TyFun a b -> Type
type Cat ob = ob -> ob -> Type
-type SameKind (a :: k) (b :: k) = (() :: Constraint)
+type SameKind :: k -> k -> Constraint
+type SameKind a b = ()
-type family Apply (f :: a ~> b) (x :: a) :: b where
+type Apply :: (a ~> b) -> a -> b
+type family Apply f x where
Apply IddSym0 x = Idd x
class Varpi (f :: i ~> j) where