summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Gogolewski <krzysztof.gogolewski@tweag.io>2019-05-19 21:44:11 +0200
committerKrzysztof Gogolewski <krzysztof.gogolewski@tweag.io>2019-05-19 21:56:16 +0200
commitfa0565df83de972056d76da046deac5d840c4d6f (patch)
tree17e2857582eb61ed51558b8be8c42bb4b31e4b55
parent7105fb66a7bacf822f7f23028136f89ff5737d0e (diff)
downloadhaskell-wip/fix-15899.tar.gz
Fix tcfail158 (#15899)wip/fix-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