summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/tcfail142.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/typecheck/should_fail/tcfail142.stderr')
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail142.stderr8
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/tests/typecheck/should_fail/tcfail142.stderr b/testsuite/tests/typecheck/should_fail/tcfail142.stderr
new file mode 100644
index 0000000000..cd0161658f
--- /dev/null
+++ b/testsuite/tests/typecheck/should_fail/tcfail142.stderr
@@ -0,0 +1,8 @@
+
+tcfail142.hs:21:12:
+ Ambiguous type variables `a0', `r0' in the constraint:
+ (Bar a0 r0) arising from a use of `bar'
+ Probable fix: add a type signature that fixes these type variable(s)
+ In the first argument of `foo', namely `bar'
+ In the expression: foo bar
+ In an equation for `test': test = foo bar