Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

paulp
Copy link
Contributor

@paulp paulp commented Mar 5, 2013

Rebased version of #2164 since I took long enough to review it that it started conflicting with retronym's later patches. Supersedes #2164.

@paulp paulp mentioned this pull request Mar 5, 2013
@paulp
Copy link
Contributor Author

paulp commented Mar 5, 2013

LGTM. Reverse-review-self by @retronym.

@retronym
Copy link
Member

retronym commented Mar 5, 2013

LGTM. I'll offer my vaguest promise to kill off a some boolean parameters at some time in the unspecified future as thanks....

@ghost ghost assigned paulp Mar 5, 2013
retronym added 4 commits March 5, 2013 09:39
What would you prefer?

  adaptToMemberWithArgs(tree, qual, name, mode, false, false)

Or:

  adaptToMemberWithArgs(tree, qual, name, mode, reportAmbiguous = false, saveErrors = false)
When named arguments correspond the the parameter declaration
order, the compiler should not lift out assignments before
the method call, as it would have to do for out-of-order
arguments.

Confirm this with a bytecode comparison test.
@paulp
Copy link
Contributor Author

paulp commented Mar 5, 2013

Aaaand rebased once more.

@retronym
Copy link
Member

retronym commented Mar 5, 2013

It's going to be that sort of day :)

paulp added a commit that referenced this pull request Mar 5, 2013
@paulp paulp merged commit 32f04db into scala:master Mar 5, 2013
@paulp paulp deleted the topic/bool-arg-rebased branch March 5, 2013 20:49
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