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

LazyArbitrary doesn't delegate Arbitrary.exhaustive #137

Closed
osi opened this issue Dec 3, 2020 · 4 comments
Closed

LazyArbitrary doesn't delegate Arbitrary.exhaustive #137

osi opened this issue Dec 3, 2020 · 4 comments

Comments

@osi
Copy link
Contributor

osi commented Dec 3, 2020

The LazyArbitrary (as returned by Arbitraries.defaultFor) does not override Arbitrary#exhaustive(long)

This prevents allValues() from working.

@jlink
Copy link
Collaborator

jlink commented Dec 3, 2020

I seem to remember there’s a reason for that. Will have a closer look later today.

@jlink
Copy link
Collaborator

jlink commented Dec 3, 2020

Couldn't find a reason (except my lazyness - pun intended) to not allow exhaustive generation.

It's available in 1.4.0-SNAPSHOT.

Bad news: A lot of stuff is planned for 1.4.0, so the release might take a while...

@jlink jlink closed this as completed Dec 3, 2020
@jlink
Copy link
Collaborator

jlink commented Dec 4, 2020

has been released in 1.3.10

@osi
Copy link
Contributor Author

osi commented Dec 4, 2020 via email

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

2 participants