[commit: testsuite] master: Fix test by adding a fundep on class A, (ad669f1)

Simon Peyton Jones simonpj at microsoft.com
Wed Jan 16 16:34:48 CET 2013


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

On branch  : master

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

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

commit ad669f11715c58c2864e6498a0d8c7206cc88541
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date:   Tue Jan 15 14:17:30 2013 +0000

    Fix test by adding a fundep on class A,
    which makes the B instance legal again

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

 tests/typecheck/should_fail/T5684.hs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tests/typecheck/should_fail/T5684.hs b/tests/typecheck/should_fail/T5684.hs
index a8c7259..41d3773 100755
--- a/tests/typecheck/should_fail/T5684.hs
+++ b/tests/typecheck/should_fail/T5684.hs
@@ -5,7 +5,7 @@ module T5684 where
 class B a b | a -> b where
   op :: a -> b -> ()
   
-class A a
+class A a | -> a
 
 instance A b => B Bool b
 





More information about the ghc-commits mailing list