Skip to content

Conversation

@allanrenucci
Copy link
Contributor

The receiver of a function is lifted if the call use default arguments.
To figure out if a default argument is needed, we compare the number of
passed arguments to the expected number of arguments.

Repeated arguments do not count as required arguments

…rargs

The receiver of a function is lifted if the call use default arguments.
To figure out if a default argument is needed, we compare the number of
passed arguments to the expected number of arguments.

Repeated arguments do not count as required arguments
Copy link
Contributor

@OlivierBlanvillain OlivierBlanvillain left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@allanrenucci allanrenucci merged commit 3379e4b into scala:master Oct 2, 2018
@allanrenucci allanrenucci deleted the fix-5191 branch October 2, 2018 14:24
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.

2 participants