Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test doesn't build with quickcheck-instances 0.3.28 #59

Open
felixonmars opened this issue Mar 30, 2023 · 0 comments
Open

Test doesn't build with quickcheck-instances 0.3.28 #59

felixonmars opened this issue Mar 30, 2023 · 0 comments

Comments

@felixonmars
Copy link
Contributor

We should probably tighten the bounds to >= 0.3.29

[1 of 1] Compiling Main             ( test/Tests.hs, dist/build/binary-orphans-test/binary-orphans-test-tmp/Main.dyn_o )

test/Tests.hs:30:5: error:
    • No instance for (Test.QuickCheck.Arbitrary.Arbitrary ByteArray)
        arising from a use of ‘testProperty’
      There are instances for similar types:
        instance Test.QuickCheck.Arbitrary.Arbitrary
                   primitive-0.7.4.0:Data.Primitive.ByteArray.ByteArray
          -- Defined in ‘Test.QuickCheck.Instances.Primitive’
    • In the first argument of ‘($)’, namely ‘testProperty "ByteArray"’
      In the expression:
        testProperty "ByteArray" $ roundtrip (Proxy :: Proxy ByteArray)
      In the second argument of ‘testGroup’, namely
        ‘[testProperty "Natural" $ roundtrip (Proxy :: Proxy Natural),
          testProperty "Sum Int" $ roundtrip (Proxy :: Proxy (Sum Int)),
          testProperty "Min Int" $ roundtrip (Proxy :: Proxy (Min Int)),
          testProperty "Solo Int" $ roundtrip (Proxy :: Proxy (Solo Int)),
          ....]’
   |
30 |   , testProperty "ByteArray"       $ roundtrip (Proxy :: Proxy ByteArray)
   |     ^^^^^^^^^^^^^^^^^^^^^^^^ 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant