summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/T5858.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/typecheck/should_fail/T5858.stderr')
-rw-r--r--testsuite/tests/typecheck/should_fail/T5858.stderr13
1 files changed, 13 insertions, 0 deletions
diff --git a/testsuite/tests/typecheck/should_fail/T5858.stderr b/testsuite/tests/typecheck/should_fail/T5858.stderr
new file mode 100644
index 0000000000..5e0cf1521b
--- /dev/null
+++ b/testsuite/tests/typecheck/should_fail/T5858.stderr
@@ -0,0 +1,13 @@
+
+T5858.hs:11:7:
+ No instance for (InferOverloaded ([a0], [a1]))
+ arising from a use of `infer'
+ The type variables `a0', `a1' are ambiguous
+ Possible fix: add a type signature that fixes these type variable(s)
+ Note: there is a potential instance available:
+ instance t1 ~ String => InferOverloaded (t1, t1)
+ -- Defined at T5858.hs:8:10
+ Possible fix:
+ add an instance declaration for (InferOverloaded ([a0], [a1]))
+ In the expression: infer ([], [])
+ In an equation for `foo': foo = infer ([], [])