summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/T18398.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/typecheck/should_fail/T18398.stderr')
-rw-r--r--testsuite/tests/typecheck/should_fail/T18398.stderr12
1 files changed, 12 insertions, 0 deletions
diff --git a/testsuite/tests/typecheck/should_fail/T18398.stderr b/testsuite/tests/typecheck/should_fail/T18398.stderr
new file mode 100644
index 0000000000..00a1f14804
--- /dev/null
+++ b/testsuite/tests/typecheck/should_fail/T18398.stderr
@@ -0,0 +1,12 @@
+
+T18398.hs:13:34: error:
+ • No instance for (C Ex p0) arising from a use of ‘meth’
+ • In the expression: meth x y
+ In a case alternative: MkEx _ -> meth x y
+ In the expression: case x of MkEx _ -> meth x y
+
+T18398.hs:13:70: error:
+ • No instance for (C Ex p0) arising from a use of ‘meth’
+ • In the expression: meth x z
+ In a case alternative: MkEx _ -> meth x z
+ In the expression: case x of MkEx _ -> meth x z