This commit is contained in:
https://launchpad.net/~felixonmars 2016-01-21 05:20:14 +00:00 committed by admin
parent eb16121c6f
commit b271378d98

View file

@ -4,23 +4,24 @@ I am getting build errors when trying to compile git-annex with QuickCheck 2.8.2
### What steps will reproduce the problem? ### What steps will reproduce the problem?
Build git-annex with QuickCheck 2.8.2, and get the following errors: Build git-annex with QuickCheck 2.8.2, and get the following errors:
[ 30 of 535] Compiling Utility.QuickCheck ( Utility/QuickCheck.hs, dist/build/git-annex/git-annex-tmp/Utility/QuickCheck.o ) [ 30 of 535] Compiling Utility.QuickCheck ( Utility/QuickCheck.hs, dist/build/git-annex/git-annex-tmp/Utility/QuickCheck.o )
Utility/QuickCheck.hs:24:10: Utility/QuickCheck.hs:24:10:
Duplicate instance declarations: Duplicate instance declarations:
instance (Arbitrary k, Arbitrary v, Eq k, Ord k) => instance (Arbitrary k, Arbitrary v, Eq k, Ord k) =>
Arbitrary (M.Map k v) Arbitrary (M.Map k v)
-- Defined at Utility/QuickCheck.hs:24:10 -- Defined at Utility/QuickCheck.hs:24:10
instance [safe] (Ord k, Arbitrary k, Arbitrary v) => instance [safe] (Ord k, Arbitrary k, Arbitrary v) =>
Arbitrary (M.Map k v) Arbitrary (M.Map k v)
-- Defined in `Test.QuickCheck.Arbitrary' -- Defined in `Test.QuickCheck.Arbitrary'
Utility/QuickCheck.hs:27:10: Utility/QuickCheck.hs:27:10:
Duplicate instance declarations: Duplicate instance declarations:
instance (Arbitrary v, Eq v, Ord v) => Arbitrary (S.Set v) instance (Arbitrary v, Eq v, Ord v) => Arbitrary (S.Set v)
-- Defined at Utility/QuickCheck.hs:27:10 -- Defined at Utility/QuickCheck.hs:27:10
instance [safe] (Ord a, Arbitrary a) => Arbitrary (S.Set a) instance [safe] (Ord a, Arbitrary a) => Arbitrary (S.Set a)
-- Defined in `Test.QuickCheck.Arbitrary' -- Defined in `Test.QuickCheck.Arbitrary'
### What version of git-annex are you using? On what operating system? ### What version of git-annex are you using? On what operating system?
git-annex 6.20160114, on Arch Linux x86_64. git-annex 6.20160114, on Arch Linux x86_64.