Skip to content

[3.0] CapturePromotion: Substitute using callee generic signature instead of caller's. #5465

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

Conversation

jckarter
Copy link
Contributor

Fixes an assertion failure when a nongeneric closure function is optimized inside a generic context.

@jckarter
Copy link
Contributor Author

@swift-ci Please test

@swift-ci
Copy link
Contributor

Build failed
Jenkins build - Swift Test Linux Platform
Git Commit - 03cd8868b66ab6dc9cc9c614f4deae79f82dfeef
Test requested by - @jckarter

@swift-ci
Copy link
Contributor

Build failed
Jenkins build - Swift Test OS X Platform
Git Commit - 03cd8868b66ab6dc9cc9c614f4deae79f82dfeef
Test requested by - @jckarter

…f caller's.

Fixes an assertion failure when a nongeneric closure function is optimized inside a generic context.
@jckarter jckarter force-pushed the capture-promotion-bug-3.0 branch from 03cd886 to efc946b Compare October 25, 2016 23:38
@jckarter
Copy link
Contributor Author

@swift-ci Please test

@ematejska ematejska merged commit 436e551 into swiftlang:swift-3.0-branch Oct 26, 2016
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.

3 participants