summaryrefslogtreecommitdiff
path: root/testsuite/tests/indexed-types/should_fail/T3330a.stderr
diff options
context:
space:
mode:
authorSimon Peyton Jones <simonpj@microsoft.com>2012-01-12 15:13:32 +0000
committerSimon Peyton Jones <simonpj@microsoft.com>2012-01-12 15:13:32 +0000
commit4c68c2f97b25d58e7e1be03891ceff90d48d0936 (patch)
tree7ca2f8ab2b81edad9ec151fe900c373da1ff31e6 /testsuite/tests/indexed-types/should_fail/T3330a.stderr
parentad0e1c9c577ee87a5da8fcf8530ddede06e94de4 (diff)
downloadhaskell-4c68c2f97b25d58e7e1be03891ceff90d48d0936.tar.gz
Lots of error message wibbling, following the
major TcErrors refactoring
Diffstat (limited to 'testsuite/tests/indexed-types/should_fail/T3330a.stderr')
-rw-r--r--testsuite/tests/indexed-types/should_fail/T3330a.stderr19
1 files changed, 16 insertions, 3 deletions
diff --git a/testsuite/tests/indexed-types/should_fail/T3330a.stderr b/testsuite/tests/indexed-types/should_fail/T3330a.stderr
index cafc6bcfac..d8b5d2606d 100644
--- a/testsuite/tests/indexed-types/should_fail/T3330a.stderr
+++ b/testsuite/tests/indexed-types/should_fail/T3330a.stderr
@@ -1,9 +1,22 @@
-T3330a.hs:17:34:
- Couldn't match type `s' with `(->) (s ix1 -> ix1)'
+T3330a.hs:19:34:
+ Couldn't match type `s' with `(->) (s0 ix1 -> ix1)'
`s' is a rigid type variable bound by
the type signature for children :: s ix -> PF s r ix -> [AnyF s]
- at T3330a.hs:17:1
+ at T3330a.hs:19:1
+ Expected type: (s0 ix0 -> ix1) -> r ix1 -> Writer [AnyF s] (r ix1)
+ Actual type: s ix
In the first argument of `hmapM', namely `p'
In the first argument of `execWriter', namely `(hmapM p collect x)'
In the expression: execWriter (hmapM p collect x)
+
+T3330a.hs:19:36:
+ Couldn't match type `ix' with `r ix0 -> Writer [AnyF s0] (r ix0)'
+ `ix' is a rigid type variable bound by
+ the type signature for children :: s ix -> PF s r ix -> [AnyF s]
+ at T3330a.hs:19:1
+ Expected type: s0 ix0 -> ix
+ Actual type: s0 ix0 -> r ix0 -> Writer [AnyF s0] (r ix0)
+ In the second argument of `hmapM', namely `collect'
+ In the first argument of `execWriter', namely `(hmapM p collect x)'
+ In the expression: execWriter (hmapM p collect x)