summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/FunDepOrigin1b.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/typecheck/should_fail/FunDepOrigin1b.stderr')
-rw-r--r--testsuite/tests/typecheck/should_fail/FunDepOrigin1b.stderr12
1 files changed, 12 insertions, 0 deletions
diff --git a/testsuite/tests/typecheck/should_fail/FunDepOrigin1b.stderr b/testsuite/tests/typecheck/should_fail/FunDepOrigin1b.stderr
new file mode 100644
index 0000000000..a67bf17955
--- /dev/null
+++ b/testsuite/tests/typecheck/should_fail/FunDepOrigin1b.stderr
@@ -0,0 +1,12 @@
+
+FunDepOrigin1b.hs:9:10: error:
+ • No instance for (C Bool (Maybe a0)) arising from a use of ‘op’
+ • In the expression: op True Nothing
+ In the expression: (op True Nothing, op False [])
+ In an equation for ‘foo’: foo _ = (op True Nothing, op False [])
+
+FunDepOrigin1b.hs:9:27: error:
+ • No instance for (C Bool [a1]) arising from a use of ‘op’
+ • In the expression: op False []
+ In the expression: (op True Nothing, op False [])
+ In an equation for ‘foo’: foo _ = (op True Nothing, op False [])