[commit: packages/binary] master: Hide 'total' from Test.QuickCheck. Fixes shadowing warning. (16c7035)

git at git.haskell.org git at git.haskell.org
Fri Aug 3 20:28:24 UTC 2018


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

On branch  : master
Link       : http://git.haskell.org/packages/binary.git/commitdiff/16c7035d5e1d347d16831145a26e6d862855f8fb

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

commit 16c7035d5e1d347d16831145a26e6d862855f8fb
Author: Lennart Kolmodin <kolmodin at gmail.com>
Date:   Wed Aug 1 21:30:13 2018 +0200

    Hide 'total' from Test.QuickCheck. Fixes shadowing warning.


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

16c7035d5e1d347d16831145a26e6d862855f8fb
 tests/QC.hs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/QC.hs b/tests/QC.hs
index 7dc4275..71d9cb8 100644
--- a/tests/QC.hs
+++ b/tests/QC.hs
@@ -34,7 +34,7 @@ import qualified Data.Fixed as Fixed
 
 import           Test.Framework
 import           Test.Framework.Providers.QuickCheck2
-import           Test.QuickCheck
+import           Test.QuickCheck hiding (total)
 
 import qualified Action                               (tests)
 import           Arbitrary                            ()



More information about the ghc-commits mailing list