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

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/b82ab6d68a57c18c1b8cd7e1e0f262f33afdbc61

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

commit b82ab6d68a57c18c1b8cd7e1e0f262f33afdbc61
Author: Dimitrios Vytiniotis <[email protected]>
Date:   Mon Nov 28 13:46:30 2011 +0000

    Error message shuffling.

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

 tests/indexed-types/should_fail/T2664.stderr |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/tests/indexed-types/should_fail/T2664.stderr 
b/tests/indexed-types/should_fail/T2664.stderr
index 2ed47d9..6deebb6 100644
--- a/tests/indexed-types/should_fail/T2664.stderr
+++ b/tests/indexed-types/should_fail/T2664.stderr
@@ -1,5 +1,5 @@
 
-T2664.hs:31:17:
+T2664.hs:31:78:
     Could not deduce (a ~ b)
     from the context (Connect a, Connect b)
       bound by the instance declaration at T2664.hs:22:10-52
@@ -12,9 +12,9 @@ T2664.hs:31:17:
           the instance declaration at T2664.hs:22:19
       `b' is a rigid type variable bound by
           the instance declaration at T2664.hs:22:30
-    Expected type: PChan (a :*: b)
-      Actual type: PChan (b :*: a)
-    In the expression: O $ takeMVar v
-    In the first argument of `return', namely
-      `(O $ takeMVar v, 
-        E (pchoose Right v newPChan) (pchoose Left v newPChan))'
+    Expected type: Dual (Dual b)
+      Actual type: a
+    In the third argument of `pchoose', namely `newPChan'
+    In the second argument of `E', namely `(pchoose Left v newPChan)'
+    In the expression:
+      E (pchoose Right v newPChan) (pchoose Left v newPChan)



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

Reply via email to