summaryrefslogtreecommitdiff
path: root/testsuite/tests/polykinds/T15789.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/polykinds/T15789.stderr')
-rw-r--r--testsuite/tests/polykinds/T15789.stderr6
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/tests/polykinds/T15789.stderr b/testsuite/tests/polykinds/T15789.stderr
new file mode 100644
index 0000000000..c0fd4eab34
--- /dev/null
+++ b/testsuite/tests/polykinds/T15789.stderr
@@ -0,0 +1,6 @@
+
+T15789.hs:10:80: error:
+ • Expected kind ‘k2 -> *’, but ‘cat b’ has kind ‘*’
+ • In the first argument of ‘Cat’, namely ‘(forall b. cat b u)’
+ In the kind ‘forall (cat :: forall xx. xx -> Type) a.
+ forall b. Cat (forall b. cat b u)’