summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/tcfail181.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/typecheck/should_fail/tcfail181.stderr')
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail181.stderr8
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/tests/typecheck/should_fail/tcfail181.stderr b/testsuite/tests/typecheck/should_fail/tcfail181.stderr
new file mode 100644
index 0000000000..59fe8b83af
--- /dev/null
+++ b/testsuite/tests/typecheck/should_fail/tcfail181.stderr
@@ -0,0 +1,8 @@
+
+tcfail181.hs:17:9:
+ Ambiguous type variable `m0' in the constraint:
+ (Monad m0) arising from a use of `foo'
+ Probable fix: add a type signature that fixes these type variable(s)
+ In the expression: foo
+ In the expression: foo {bar = return True}
+ In an equation for `wog': wog x = foo {bar = return True}