summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/T5300.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/typecheck/should_fail/T5300.stderr')
-rw-r--r--testsuite/tests/typecheck/should_fail/T5300.stderr8
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/tests/typecheck/should_fail/T5300.stderr b/testsuite/tests/typecheck/should_fail/T5300.stderr
new file mode 100644
index 0000000000..bc3bc066b5
--- /dev/null
+++ b/testsuite/tests/typecheck/should_fail/T5300.stderr
@@ -0,0 +1,8 @@
+
+T5300.hs:15:9:
+ Ambiguous type variable `c0' in the constraint:
+ (C1 a1 b2 c0) arising from a use of `f1'
+ Probable fix: add a type signature that fixes these type variable(s)
+ In the first argument of `(>>=)', namely `f1 fm'
+ In the expression: f1 fm >>= return . undefined
+ In an equation for `f2': f2 fm = f1 fm >>= return . undefined