[commit: testsuite] master: Add forgotten stderr output for T5498 (998a816)

git at git.haskell.org git at git.haskell.org
Fri Jan 10 11:54:20 UTC 2014


Repository : ssh://git@git.haskell.org/testsuite

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/998a816ae89c4fd573f4abd7c6abb346cf7ee9af/testsuite

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

commit 998a816ae89c4fd573f4abd7c6abb346cf7ee9af
Author: Joachim Breitner <mail at joachim-breitner.de>
Date:   Fri Jan 10 11:55:14 2014 +0000

    Add forgotten stderr output for T5498


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

998a816ae89c4fd573f4abd7c6abb346cf7ee9af
 tests/deriving/should_fail/T5498.stderr |   10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/tests/deriving/should_fail/T5498.stderr b/tests/deriving/should_fail/T5498.stderr
index 0519ecb..8adde63 100644
--- a/tests/deriving/should_fail/T5498.stderr
+++ b/tests/deriving/should_fail/T5498.stderr
@@ -1 +1,11 @@
 
+T5498.hs:30:39:
+    Could not coerce from ‛c a’ to ‛c (Down a)’
+      because ‛c a’ and ‛c (Down a)’ are different types.
+      arising from the coercion of the method ‛intIso’ from type
+                   ‛forall (c :: * -> *). c a -> c Int’ to type
+                   ‛forall (c :: * -> *). c (Down a) -> c Int’
+    Possible fix:
+      use a standalone 'deriving instance' declaration,
+        so you can specify the instance context yourself
+    When deriving the instance for (IntIso (Down a))



More information about the ghc-commits mailing list