Skip to content

IRGen: Fix partial applies of generic functions capturing the generic parameters in an argument #11172

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

Conversation

aschwaighofer
Copy link
Contributor

The code assumed if there is no context object but rather the captured argument
is reused as the context object that the parameter index for this argument is
going to be the last one. This is not true if there are empty types in the
parameter list.

rdar://33502272

… parameters in an argument

The code assumed if there is no context object but rather the captured argument
is reused as the context object that the parameter index for this argument is
going to be the last one. This is not true if there are empty types in the
parameter list.

rdar://33502272
@aschwaighofer
Copy link
Contributor Author

@swift-ci Please test

@rjmccall
Copy link
Contributor

LGTM.

@swift-ci
Copy link
Contributor

Build failed
Jenkins build - Swift Test OS X Platform
Git Commit - a15eff3
Test requested by - @aschwaighofer

@aschwaighofer
Copy link
Contributor Author

The OS X failure is unrelated to this commit. It exists also here:

https://ci.swift.org/job/oss-swift_tools-RA_stdlib-RDA_test-simulator/3445/

@aschwaighofer
Copy link
Contributor Author

I talked to @shajrawi and he confirmed that this failure is very likely his and he will fix it soon.

@shajrawi
Copy link

@aschwaighofer I changed the watch-target test-case label as part of this PR #11182 - smoke testing it now - hopefully that should do it

@aschwaighofer
Copy link
Contributor Author

@swift-ci Please test OS X platform

@aschwaighofer aschwaighofer merged commit 28b5bbf into swiftlang:master Jul 26, 2017
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