summaryrefslogtreecommitdiff
path: root/testsuite/tests/indexed-types/should_fail/T12522a.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/indexed-types/should_fail/T12522a.hs')
-rw-r--r--testsuite/tests/indexed-types/should_fail/T12522a.hs6
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuite/tests/indexed-types/should_fail/T12522a.hs b/testsuite/tests/indexed-types/should_fail/T12522a.hs
index eb855f4171..e8b12c4d1e 100644
--- a/testsuite/tests/indexed-types/should_fail/T12522a.hs
+++ b/testsuite/tests/indexed-types/should_fail/T12522a.hs
@@ -5,13 +5,15 @@
module T12522a where
+import Data.Kind (Type)
+
newtype I a = I a
-type family Curry (as :: [*]) b = f | f -> as b where
+type family Curry (as :: [Type]) b = f | f -> as b where
Curry '[] b = I b
Curry (a:as) b = a -> Curry as b
-data Uncurried (as :: [*]) b
+data Uncurried (as :: [Type]) b
def :: Curry as b -> Uncurried as b
def = undefined