summaryrefslogtreecommitdiff
path: root/testsuite/tests/indexed-types/should_fail/ClosedFam3.hs-boot
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/indexed-types/should_fail/ClosedFam3.hs-boot')
-rw-r--r--testsuite/tests/indexed-types/should_fail/ClosedFam3.hs-boot4
1 files changed, 3 insertions, 1 deletions
diff --git a/testsuite/tests/indexed-types/should_fail/ClosedFam3.hs-boot b/testsuite/tests/indexed-types/should_fail/ClosedFam3.hs-boot
index 503e1adfd3..5a10841ba4 100644
--- a/testsuite/tests/indexed-types/should_fail/ClosedFam3.hs-boot
+++ b/testsuite/tests/indexed-types/should_fail/ClosedFam3.hs-boot
@@ -2,6 +2,8 @@
module ClosedFam3 where
+import Data.Kind (Type)
+
type family Foo a where
Foo Int = Bool
@@ -9,5 +11,5 @@ type family Bar a where
Bar Int = Bool
Bar Double = Char
-type family Baz (a :: k) :: * where
+type family Baz (a :: k) :: Type where
Baz Int = Bool