summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/mc19.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/mc19.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/mc19.stderr')
-rw-r--r--testsuite/tests/typecheck/should_fail/mc19.stderr6
1 files changed, 2 insertions, 4 deletions
diff --git a/testsuite/tests/typecheck/should_fail/mc19.stderr b/testsuite/tests/typecheck/should_fail/mc19.stderr
index c7bca0afd4..f77da6fe4b 100644
--- a/testsuite/tests/typecheck/should_fail/mc19.stderr
+++ b/testsuite/tests/typecheck/should_fail/mc19.stderr
@@ -1,9 +1,7 @@
mc19.hs:10:31:
- Couldn't match type `a' with `[a]'
- `a' is a rigid type variable bound by
- a type expected by the context: [a] -> [a] at mc19.hs:10:26
+ Occurs check: cannot construct the infinite type: a0 = [a0]
Expected type: [a] -> [a]
- Actual type: [a] -> [[a]]
+ Actual type: [a0] -> [[a0]]
In the expression: inits
In a stmt of a monad comprehension: then inits