Skip to content
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

Fix closure capture boxes regression #1359

Conversation

slavapestov
Copy link
Member

This is broken in Swift 2.2 and was only fixed in master. It looks like
passing of the interface type into type lowering was introduced by this
commit from a recent redesign of closure captures:

b76c0ab

Fixes rdar://problem/24470533.

@slavapestov
Copy link
Member Author

@jckarter Can you please review for 2.2?

@slavapestov
Copy link
Member Author

@swift-ci Please test

@jckarter
Copy link
Member

Looks good. Thanks for catching this!

This is broken in Swift 2.2 and was only fixed in master. It looks like
passing of the interface type into type lowering was introduced by this
commit from a recent redesign of closure captures:

apple@b76c0ab

Fixes <rdar://problem/24470533>, which is part of
<https://bugs.swift.org/browse/SR-661>.
@slavapestov slavapestov force-pushed the fix-closure-capture-boxes-regression-2.2 branch from d8e2dd3 to 6a0cc67 Compare February 19, 2016 05:49
@slavapestov
Copy link
Member Author

I added a SILGen test.

@slavapestov
Copy link
Member Author

@swift-ci Please test

slavapestov added a commit that referenced this pull request Feb 19, 2016
…egression-2.2

Fix closure capture boxes regression
@slavapestov slavapestov merged commit 9376b4e into apple:swift-2.2-branch Feb 19, 2016
@slavapestov slavapestov deleted the fix-closure-capture-boxes-regression-2.2 branch February 20, 2016 09:09
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.

None yet

2 participants