summaryrefslogtreecommitdiff
path: root/testsuite/tests/indexed-types/should_fail/T2544.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/indexed-types/should_fail/T2544.hs')
-rw-r--r--testsuite/tests/indexed-types/should_fail/T2544.hs4
1 files changed, 3 insertions, 1 deletions
diff --git a/testsuite/tests/indexed-types/should_fail/T2544.hs b/testsuite/tests/indexed-types/should_fail/T2544.hs
index 2150cd5775..34a79f4db8 100644
--- a/testsuite/tests/indexed-types/should_fail/T2544.hs
+++ b/testsuite/tests/indexed-types/should_fail/T2544.hs
@@ -4,10 +4,12 @@
module T2544 where
+import Data.Kind
+
data (:|:) a b = Inl a | Inr b
class Ix i where
- type IxMap i :: * -> *
+ type IxMap i :: Type -> Type
empty :: IxMap i [Int]
data BiApp a b c = BiApp (a c) (b c)