summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/tcfail206.stderr
diff options
context:
space:
mode:
authorJose Pedro Magalhaes <jpm@cs.uu.nl>2011-11-11 09:07:50 +0000
committerJose Pedro Magalhaes <jpm@cs.uu.nl>2011-11-11 09:07:50 +0000
commit5e1333af4a5f3883cbb4e5b24372d29afa02c6ca (patch)
treefa4410a622fbaa645a0196753ec2c33d9516f39f /testsuite/tests/typecheck/should_fail/tcfail206.stderr
parentccf86298e3d8daec41c3a780555e17e816b58c1f (diff)
downloadhaskell-5e1333af4a5f3883cbb4e5b24372d29afa02c6ca.tar.gz
New kind-polymorphic core
This big patch implements a kind-polymorphic core for GHC. The current implementation focuses on making sure that all kind-monomorphic programs still work in the new core; it is not yet guaranteed that kind-polymorphic programs (using the new -XPolyKinds flag) will work. For more information, see http://haskell.org/haskellwiki/GHC/Kinds
Diffstat (limited to 'testsuite/tests/typecheck/should_fail/tcfail206.stderr')
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail206.stderr5
1 files changed, 3 insertions, 2 deletions
diff --git a/testsuite/tests/typecheck/should_fail/tcfail206.stderr b/testsuite/tests/typecheck/should_fail/tcfail206.stderr
index 46419c4522..4cb3172926 100644
--- a/testsuite/tests/typecheck/should_fail/tcfail206.stderr
+++ b/testsuite/tests/typecheck/should_fail/tcfail206.stderr
@@ -14,11 +14,12 @@ tcfail206.hs:8:5:
In the expression: (1,)
In an equation for `b': b = (1,)
-tcfail206.hs:11:6:
+tcfail206.hs:11:5:
Couldn't match type `a' with `Bool'
`a' is a rigid type variable bound by
the type signature for c :: a -> (a, Bool) at tcfail206.hs:11:1
- In the expression: True || False
+ Expected type: a -> (a, Bool)
+ Actual type: Bool -> (Bool, Bool)
In the expression: (True || False,)
In an equation for `c': c = (True || False,)