Skip to content

Build failure with QuickCheck-2.15 #5

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

Open
andreasabel opened this issue Nov 13, 2024 · 1 comment
Open

Build failure with QuickCheck-2.15 #5

andreasabel opened this issue Nov 13, 2024 · 1 comment

Comments

@andreasabel
Copy link

Building library for chell-quickcheck-0.2.5.4...

Test/Chell/QuickCheck.hs:33:15: error: [GHC-76037]
    Not in scope: ‘State.computeSize’
    NB: the module ‘Test.QuickCheck.State’ does not export ‘computeSize’.
   |
33 |               State.computeSize = computeSize (QuickCheck.maxSize args) (QuickCheck.maxSuccess args),
   |               ^^^^^^^^^^^^^^^^^

This is due to:

@andreasabel
Copy link
Author

ATTN @chris-martin

One can put the offending line under a #if !MIN_VERSION_QuickCheck(2,15,0).
However, there is a next error:

Constructor ‘State.MkState’ does not have the required strict field(s):
maxTestSize :: Int

So, apparently there is a new field to fill in, one has to dig deeper to see what should go there.

But I won't anyway submit a PR while my existing one is ignored:

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