[commit: packages/binary] master: Silence warning. (8893118)

git at git.haskell.org git at git.haskell.org
Thu Jan 22 22:36:13 UTC 2015


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

On branch  : master
Link       : http://git.haskell.org/packages/binary.git/commitdiff/8893118f94ea3bec5182c3a8b2285956982996e5

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

commit 8893118f94ea3bec5182c3a8b2285956982996e5
Author: Lennart Kolmodin <kolmodin at gmail.com>
Date:   Sat Jan 10 12:51:38 2015 +0300

    Silence warning.


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

8893118f94ea3bec5182c3a8b2285956982996e5
 tests/QC.hs | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/tests/QC.hs b/tests/QC.hs
index 653cb85..9e00616 100644
--- a/tests/QC.hs
+++ b/tests/QC.hs
@@ -21,7 +21,11 @@ import           Test.Framework.Providers.QuickCheck2
 import           Test.QuickCheck
 
 import qualified Action                               (tests)
-import           Arbitrary
+import           Arbitrary                            (
+#ifdef HAS_NATURAL
+                                                       arbitrarySizedNatural
+#endif
+                                                      )
 import           Data.Binary
 import           Data.Binary.Get
 import           Data.Binary.Put



More information about the ghc-commits mailing list