Repository : ssh://darcs.haskell.org//srv/darcs/testsuite

On branch  : ghc-7.6

http://hackage.haskell.org/trac/ghc/changeset/0106f844e79f69926a866977676e0a30e233bb8c

>---------------------------------------------------------------

commit 0106f844e79f69926a866977676e0a30e233bb8c
Author: Simon Peyton Jones <[email protected]>
Date:   Fri Jul 20 19:01:13 2012 +0100

    Accept error
    
    MERGED from commit fd96f1918670869a1ce60878930365b750795559

>---------------------------------------------------------------

 tests/deriving/should_fail/T3621.stderr |   16 ++++++++++------
 1 files changed, 10 insertions(+), 6 deletions(-)

diff --git a/tests/deriving/should_fail/T3621.stderr 
b/tests/deriving/should_fail/T3621.stderr
index a944956..dc9dc84 100644
--- a/tests/deriving/should_fail/T3621.stderr
+++ b/tests/deriving/should_fail/T3621.stderr
@@ -1,9 +1,13 @@
 
 T3621.hs:21:21:
-    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
+    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
     When deriving the instance for (MonadState state (WrappedState s))



_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to