[Git][ghc/ghc][wip/fix-15899] Fix tcfail158 (#15899)

Krzysztof Gogolewski gitlab at gitlab.haskell.org
Sun May 19 19:56:28 UTC 2019



Krzysztof Gogolewski pushed to branch wip/fix-15899 at Glasgow Haskell Compiler / GHC


Commits:
fa0565df by Krzysztof Gogolewski at 2019-05-19T19:56:16Z
Fix tcfail158 (#15899)

As described in #15899, this test was broken, but now it's back
to normal.

- - - - -


2 changed files:

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


Changes:

=====================================
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, [''])


=====================================
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



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/commit/fa0565df83de972056d76da046deac5d840c4d6f

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/commit/fa0565df83de972056d76da046deac5d840c4d6f
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20190519/08e727f6/attachment-0001.html>


More information about the ghc-commits mailing list