ghc 7.5 removed catch from Prelude, tests work with QuickCheck 2.5 #31

Merged
merged 2 commits into from Aug 14, 2012

Projects

None yet

5 participants

@markwright
Contributor

compiled and ran test suite (tests passed) with 7.5.20120621 / QuickCheck 2.5 (after loosening the QuickCheck dependency in test-framework-quickcheck2 0.2.12.2) and ghc 7.4.2 / QuickCheck 2.4.

@technogeeky

I can confirm that this patch works correctly and tests build on Windows too.

@hvr
Contributor
hvr commented Aug 13, 2012

+1

btw, in order to build with the recently released GHC 7.6.0 release candidate, the integer-gmp version constraint needs to be bumped as well:

diff --git a/text.cabal b/text.cabal
index 682f0b6..6a20af7 100644
--- a/text.cabal
+++ b/text.cabal
@@ -147,7 +147,7 @@ library
       build-depends: integer-simple >= 0.1 && < 0.5
     else
       cpp-options: -DINTEGER_GMP
-      build-depends: integer-gmp >= 0.2 && < 0.5
+      build-depends: integer-gmp >= 0.2 && < 0.6


   if impl(ghc >= 6.9) && impl(ghc < 6.11)
@cartazio

whens this version going to be pushed out? text won't build on 7.6rc1 without this patch :)

@hvr hvr referenced this pull request Aug 14, 2012
Merged

Adapt for ghc-7.6 #35

@bos bos merged commit dc66684 into bos:master Aug 14, 2012
@bos
Owner
bos commented Aug 14, 2012

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment