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

Fix stack overflow with Prop.all #787

Merged
merged 2 commits into from
Apr 10, 2021
Merged

Fix stack overflow with Prop.all #787

merged 2 commits into from
Apr 10, 2021

Conversation

ashawley
Copy link
Contributor

@ashawley ashawley commented Apr 8, 2021

Revert the refactoring done to Prop.all and Prop.atLeastOne in #531.

Fixes #748.

Revert change made to Prop.all in Prop.atLeastOne in 50d9108
@larsrh
Copy link
Contributor

larsrh commented Apr 9, 2021

Can we add a test for this to make sure it doesn't regress?

@ashawley
Copy link
Contributor Author

ashawley commented Apr 9, 2021

Good idea. There was a test. I changed it to run once with a million Props.

@larsrh larsrh merged commit 2952018 into typelevel:main Apr 10, 2021
@ashawley ashawley deleted the fix-748 branch April 10, 2021 14:48
@ashawley ashawley added this to the 1.15.4 milestone Apr 16, 2021
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

Successfully merging this pull request may close these issues.

Prop.all is not stack-safe
2 participants