Skip to content

Fix stack overflow with Prop.all - #787

Merged
larsrh merged 2 commits into
typelevel:mainfrom
ashawley:fix-748
Apr 10, 2021
Merged

larsrh merged 2 commits into
typelevel:mainfrom
ashawley:fix-748

Conversation

@ashawley

@ashawley ashawley commented Apr 8, 2021

Copy link
Copy Markdown
Contributor

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

larsrh commented Apr 9, 2021

Copy link
Copy Markdown
Contributor

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

@ashawley

ashawley commented Apr 9, 2021

Copy link
Copy Markdown
Contributor Author

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