Fix tcfail158 (#15899)
authorKrzysztof Gogolewski <krzysztof.gogolewski@tweag.io>
Sun, 19 May 2019 19:44:11 +0000 (21:44 +0200)
committerMarge Bot <ben+marge-bot@smart-cactus.org>
Mon, 27 May 2019 14:06:28 +0000 (10:06 -0400)
As described in #15899, this test was broken, but now it's back
to normal.

testsuite/tests/typecheck/should_fail/all.T
testsuite/tests/typecheck/should_fail/tcfail158.stderr

index c4c5040..5711753 100644 (file)
@@ -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, [''])
index 995be74..c473465 100644 (file)
@@ -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