summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/tcfail174.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/typecheck/should_fail/tcfail174.stderr')
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail174.stderr23
1 files changed, 23 insertions, 0 deletions
diff --git a/testsuite/tests/typecheck/should_fail/tcfail174.stderr b/testsuite/tests/typecheck/should_fail/tcfail174.stderr
new file mode 100644
index 0000000000..84c0868db4
--- /dev/null
+++ b/testsuite/tests/typecheck/should_fail/tcfail174.stderr
@@ -0,0 +1,23 @@
+
+tcfail174.hs:9:10:
+ Couldn't match expected type `forall a. a -> a'
+ with actual type `a0 -> a0'
+ In the first argument of `Base', namely `id'
+ In the expression: Base id
+ In an equation for `g': g = Base id
+
+tcfail174.hs:13:14:
+ Couldn't match expected type `forall x. x -> a0'
+ with actual type `forall a. a -> a'
+ Expected type: Capture (forall x. x -> a0)
+ Actual type: Capture (forall a. a -> a)
+ In the first argument of `Capture', namely `g'
+ In the expression: Capture g
+
+tcfail174.hs:16:14:
+ Couldn't match expected type `forall x. x -> b'
+ with actual type `forall a. a -> a'
+ Expected type: Capture (forall x. x -> b)
+ Actual type: Capture (forall a. a -> a)
+ In the first argument of `Capture', namely `g'
+ In the expression: Capture g