Skip to content

Bridge the formal block type in a block-to-func thunk #12945

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

rjmccall
Copy link
Contributor

When building a block-to-func reabstraction thunk, be sure to bridge
the block's formal parameter and result types, because otherwise
the bridging code gets real confused.

Fixes rdar://35402696

Swift 4.1 version of #12941.

the block's formal parameter and result types, because otherwise
the bridging code gets real confused.

Fixes rdar://35402696
@rjmccall
Copy link
Contributor Author

@swift-ci Please test and merge.

@najacque
Copy link
Contributor

@swift-ci please test and merge

@rjmccall
Copy link
Contributor Author

@swift-ci Please test and merge.

1 similar comment
@rjmccall
Copy link
Contributor Author

@swift-ci Please test and merge.

@najacque
Copy link
Contributor

@swift-ci please clean test

@rjmccall rjmccall merged commit 2373449 into swiftlang:swift-4.1-branch Nov 16, 2017
@rjmccall rjmccall deleted the block-to-func-formal-bridging-4.1 branch November 16, 2017 08:15
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