Skip to content

Blocks can only be converted to AnyObject with a cast under ObjCInterop #13153

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
Nov 29, 2017

Conversation

rjmccall
Copy link
Contributor

I don't think there's a way to test this right now because we only support SwiftValue-style any as AnyObject or block as AnyObject under ObjCInterop, but it's certainly more future-proof.

I don't think there's a way to test this right now because we don't
actually support SwiftValue and so on except under ObjCInterop, but
it's certainly more future-proof.
@rjmccall
Copy link
Contributor Author

@swift-ci Please smoke test and merge.

@swift-ci swift-ci merged commit 49326e0 into swiftlang:master Nov 29, 2017
@rjmccall rjmccall deleted the block-anyobject-objcinterop branch November 29, 2017 23:28
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