summaryrefslogtreecommitdiff
path: root/testsuite/tests/polykinds/T21530b.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/polykinds/T21530b.stderr')
-rw-r--r--testsuite/tests/polykinds/T21530b.stderr11
1 files changed, 11 insertions, 0 deletions
diff --git a/testsuite/tests/polykinds/T21530b.stderr b/testsuite/tests/polykinds/T21530b.stderr
new file mode 100644
index 0000000000..552d9f915d
--- /dev/null
+++ b/testsuite/tests/polykinds/T21530b.stderr
@@ -0,0 +1,11 @@
+
+T21530b.hs:14:7: error:
+ • Couldn't match kind ‘Constraint’ with ‘*’
+ When matching types
+ a0 :: *
+ Eq Int :: Constraint
+ Expected: Proxy a0
+ Actual: Proxy (Eq Int)
+ • In the first argument of ‘f’, namely ‘g’
+ In the expression: f g
+ In an equation for ‘h’: h = f g