Skip to content

Conversation

odersky
Copy link
Contributor

@odersky odersky commented Sep 4, 2022

When doing a "size-fits" check, we previously only worked with the fact
whether the given alternative had default parameters or not. We know count
the number of default parameters in the applied parameter section, which
gives us a better estimate.

Fixes #15898

When doing a "size-fits" check, we previously only worked with the fact
whether the given alternative had default parameters or not. We know count
the number of default parameters in the applied parameter section, which
gives us a better estimate.

Fixes scala#15898
Some tests for issues that have not been fixed
@odersky odersky requested a review from smarter September 4, 2022 17:15
@odersky odersky requested review from KacperFKorban and removed request for smarter September 4, 2022 17:15
@KacperFKorban KacperFKorban merged commit b5fea82 into scala:main Sep 4, 2022
@KacperFKorban KacperFKorban deleted the fix-15898 branch September 4, 2022 19:49
@Kordyjan Kordyjan added this to the 3.2.2 milestone Aug 1, 2023
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.

Result of a method call is not accepted when by-name Unit value is expected once default values are used
3 participants