summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Gogolewski <krzysztof.gogolewski@tweag.io>2019-05-19 21:44:11 +0200
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-05-27 10:06:28 -0400
commit1f51aad656444c667cf1dd22605ee65e931985c7 (patch)
treedf84217055e17cf6b4bdc9b1b081e833a3d28a9d
parent3f6e5b976fe6bcb61aa44a4467e8f94841e979cf (diff)
downloadhaskell-1f51aad656444c667cf1dd22605ee65e931985c7.tar.gz
Fix tcfail158 (#15899)
As described in #15899, this test was broken, but now it's back to normal.
-rw-r--r--testsuite/tests/typecheck/should_fail/all.T3
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail158.stderr6
2 files changed, 5 insertions, 4 deletions
diff --git a/testsuite/tests/typecheck/should_fail/all.T b/testsuite/tests/typecheck/should_fail/all.T
index c4c5040b9b..5711753946 100644
--- a/testsuite/tests/typecheck/should_fail/all.T
+++ b/testsuite/tests/typecheck/should_fail/all.T
@@ -140,8 +140,7 @@ test('tcfail154', normal, compile_fail, [''])
test('tcfail155', normal, compile_fail, [''])
test('tcfail156', normal, compile_fail, [''])
test('tcfail157', normal, compile_fail, [''])
-# Skip tcfail158 until #15899 fixes the broken test
-test('tcfail158', skip, compile_fail, [''])
+test('tcfail158', normal, compile_fail, [''])
test('tcfail159', normal, compile_fail, [''])
test('tcfail160', normal, compile_fail, [''])
test('tcfail161', normal, compile_fail, [''])
diff --git a/testsuite/tests/typecheck/should_fail/tcfail158.stderr b/testsuite/tests/typecheck/should_fail/tcfail158.stderr
index 995be74380..c473465740 100644
--- a/testsuite/tests/typecheck/should_fail/tcfail158.stderr
+++ b/testsuite/tests/typecheck/should_fail/tcfail158.stderr
@@ -1,3 +1,5 @@
-tcfail158.hs:1:1: error:
- The IO action ‘main’ is not defined in module ‘Main’
+tcfail158.hs:14:19: error:
+ • Expecting one more argument to ‘Val v’
+ Expected a type, but ‘Val v’ has kind ‘* -> *’
+ • In the type signature: bar :: forall v. Val v