Some warnings
Fixed -Wdodgy-imports
Disabled -Wstar-is-type since Data.Kind doesn't exist in GHC-7.10
Disabled -Wunticked-promoted-constructors because it was only
temporarily included in -Wall and is no longer recommended in new GHCs.
commitfa28f06c26251084df29c20fba9d746bf855088d
authormniip <mniip@mniip.com>
dateTue 15 Apr 2025, 09:19 (1 year ago)
parent403bfbc
generic-arbitrary.cabal−1
@@ -99,4 +99,3 @@ test-suite test
9999 -threaded
100100 -rtsopts
101101 "-with-rtsopts=-N -A64m -qb0 -n4m -T -I1"
102− default-extensions: DeriveGeneric
src/Test/QuickCheck/Arbitrary/Generic.hs+7
@@ -1,3 +1,10 @@
1+#if __GLASGOW_HASKELL__ >= 806
2+{-# OPTIONS_GHC -Wno-star-is-type #-}
3+#endif
4+#if __GLASGOW_HASKELL__ >= 800
5+{-# OPTIONS_GHC -Wno-unticked-promoted-constructors #-}
6+#endif
7+
18{-|
29
310This module is a generic implementation of the 'arbitrary' method. Example
test/RecursiveTest.hs+1−1
@@ -8,7 +8,7 @@
88
99module RecursiveTest where
1010
11−import Control.DeepSeq hiding (Unit)
11+import Control.DeepSeq (NFData)
1212import GHC.Generics (Generic)
1313import Test.QuickCheck
1414import Test.QuickCheck.Arbitrary.Generic