Skip to content

Fix several incorrect uses of ApplySite::getArgumentConvention. #18315

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

Merged
merged 1 commit into from
Aug 1, 2018
Merged

Fix several incorrect uses of ApplySite::getArgumentConvention. #18315

merged 1 commit into from
Aug 1, 2018

Conversation

atrick
Copy link
Contributor

@atrick atrick commented Jul 27, 2018

At least most of these were latent bugs since the code was
unreachable in the PartialApply case. But that's no excuse to misuse
the API.

Also, whenever referring to an integer index, be explicit about
whether it is an applied argument or callee argument.

@atrick atrick requested a review from gottesmm July 27, 2018 23:30
@atrick
Copy link
Contributor Author

atrick commented Jul 27, 2018

@swift-ci test.

@swift-ci
Copy link
Contributor

Build failed
Swift Test OS X Platform
Git Sha - da5c274c1c63975102107619860aade30aecaaaa

@atrick
Copy link
Contributor Author

atrick commented Jul 28, 2018

DARWIN_SIMULATOR failure.

@atrick
Copy link
Contributor Author

atrick commented Jul 28, 2018

@swift-ci test OSX Platform

@atrick
Copy link
Contributor Author

atrick commented Jul 28, 2018

@swift-ci test OS X Platform.

At least most of these were latent bugs since the code was
unreachable in the PartialApply case. But that's no excuse to misuse
the API.

Also, whenever referring to an integer index, be explicit about
whether it is an applied argument or callee argument.
@atrick
Copy link
Contributor Author

atrick commented Jul 28, 2018

@swift-ci test.

@swift-ci
Copy link
Contributor

Build failed
Swift Test OS X Platform
Git Sha - da5c274c1c63975102107619860aade30aecaaaa

@swift-ci
Copy link
Contributor

Build failed
Swift Test Linux Platform
Git Sha - da5c274c1c63975102107619860aade30aecaaaa

@atrick
Copy link
Contributor Author

atrick commented Jul 31, 2018

@eeckstein please review.

Copy link
Contributor

@gottesmm gottesmm left a comment

Choose a reason for hiding this comment

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

btw this LGTM

@atrick atrick merged commit 06d0973 into swiftlang:master Aug 1, 2018
@atrick
Copy link
Contributor Author

atrick commented Aug 1, 2018

@gottesmm thanks!

@xedin
Copy link
Contributor

xedin commented Aug 1, 2018

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.

4 participants