summaryrefslogtreecommitdiff
path: root/testsuite/tests/polykinds/T7438a.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/polykinds/T7438a.hs')
-rw-r--r--testsuite/tests/polykinds/T7438a.hs4
1 files changed, 3 insertions, 1 deletions
diff --git a/testsuite/tests/polykinds/T7438a.hs b/testsuite/tests/polykinds/T7438a.hs
index f48ed980df..ee452e94ba 100644
--- a/testsuite/tests/polykinds/T7438a.hs
+++ b/testsuite/tests/polykinds/T7438a.hs
@@ -2,7 +2,9 @@
module T7438a where
-data Thrist :: k -> k -> * where
+import Data.Kind (Type)
+
+data Thrist :: k -> k -> Type where
Nil :: Thrist a a