summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/T16255.stderr
diff options
context:
space:
mode:
authorRyan Scott <ryan.gl.scott@gmail.com>2019-02-01 19:10:55 -0500
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-02-01 19:10:55 -0500
commitf0cd728fde9bb582930a616cff8d0c5a178c5e14 (patch)
tree2bbc4f5fcea598e13db934725ed470b489201b67 /testsuite/tests/typecheck/should_fail/T16255.stderr
parentef6b28339b18597a2df1ce39116f1d4e4533804c (diff)
downloadhaskell-f0cd728fde9bb582930a616cff8d0c5a178c5e14.tar.gz
Reject oversaturated VKAs in type family equations
Diffstat (limited to 'testsuite/tests/typecheck/should_fail/T16255.stderr')
-rw-r--r--testsuite/tests/typecheck/should_fail/T16255.stderr10
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/tests/typecheck/should_fail/T16255.stderr b/testsuite/tests/typecheck/should_fail/T16255.stderr
new file mode 100644
index 0000000000..74379a316c
--- /dev/null
+++ b/testsuite/tests/typecheck/should_fail/T16255.stderr
@@ -0,0 +1,10 @@
+
+T16255.hs:13:3: error:
+ • Illegal oversaturated visible kind argument: ‘@Bool’
+ • In the equations for closed type family ‘F1’
+ In the type family declaration for ‘F1’
+
+T16255.hs:21:3: error:
+ • Illegal oversaturated visible kind argument: ‘@Symbol’
+ • In the equations for closed type family ‘F2’
+ In the type family declaration for ‘F2’