[commit: testsuite] ghc-7.6: Accept output (90f5c15)
Simon Peyton Jones
simonpj at microsoft.com
Wed Aug 22 19:03:35 CEST 2012
Repository : ssh://darcs.haskell.org//srv/darcs/testsuite
On branch : ghc-7.6
http://hackage.haskell.org/trac/ghc/changeset/90f5c1531ad303f3838b1dd7aa6b8b6e627879de
>---------------------------------------------------------------
commit 90f5c1531ad303f3838b1dd7aa6b8b6e627879de
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date: Wed Aug 22 17:59:37 2012 +0100
Accept output
>---------------------------------------------------------------
tests/deriving/should_fail/T3621.stderr | 16 ++++++----------
1 files changed, 6 insertions(+), 10 deletions(-)
diff --git a/tests/deriving/should_fail/T3621.stderr b/tests/deriving/should_fail/T3621.stderr
index dc9dc84..68213c6 100644
--- a/tests/deriving/should_fail/T3621.stderr
+++ b/tests/deriving/should_fail/T3621.stderr
@@ -1,13 +1,9 @@
T3621.hs:21:21:
- Couldn't match type `s' with `state'
- `s' is an unknown type variable
- `state' is an unknown type variable
- When using functional dependencies to combine
- MonadState s (State s),
- arising from the dependency `m -> s'
- in the instance declaration at T3621.hs:18:10
- MonadState state (State s),
- arising from the 'deriving' clause of a data type declaration
- at T3621.hs:21:21-36
+ No instance for (MonadState state (State s))
+ arising from the 'deriving' clause of a data type declaration
+ Possible fix:
+ add an instance declaration for (MonadState state (State s))
+ or use a standalone 'deriving instance' declaration,
+ so you can specify the instance context yourself
When deriving the instance for (MonadState state (WrappedState s))
More information about the Cvs-ghc
mailing list