summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/tcfail099.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/typecheck/should_fail/tcfail099.stderr')
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail099.stderr6
1 files changed, 3 insertions, 3 deletions
diff --git a/testsuite/tests/typecheck/should_fail/tcfail099.stderr b/testsuite/tests/typecheck/should_fail/tcfail099.stderr
index f3908f36e4..bc30866ec2 100644
--- a/testsuite/tests/typecheck/should_fail/tcfail099.stderr
+++ b/testsuite/tests/typecheck/should_fail/tcfail099.stderr
@@ -1,6 +1,6 @@
tcfail099.hs:9:20: error:
- • Couldn't match expected type ‘a’ with actual type ‘t’
+ • Couldn't match expected type ‘a’ with actual type ‘p’
because type variable ‘a’ would escape its scope
This (rigid, skolem) type variable is bound by
a pattern with constructor: C :: forall a. (a -> Int) -> DS,
@@ -10,6 +10,6 @@ tcfail099.hs:9:20: error:
In the expression: f arg
In an equation for ‘call’: call (C f) arg = f arg
• Relevant bindings include
- arg :: t (bound at tcfail099.hs:9:12)
+ arg :: p (bound at tcfail099.hs:9:12)
f :: a -> Int (bound at tcfail099.hs:9:9)
- call :: DS -> t -> Int (bound at tcfail099.hs:9:1)
+ call :: DS -> p -> Int (bound at tcfail099.hs:9:1)