Skip to content

SR-3477: replace unsafeBitCast by withoutActuallyEscaping #198

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
Jan 5, 2017

Conversation

dgrove-oss
Copy link
Contributor

Now that withoutActuallyEscaping is implemented, use it instead
of unsafeBitCast to allow passing a closure capturing a non-escaping
block down to the C implementation of dispatch_data_apply (which does
not actually escape its block argument).

Now that withoutActuallyEscaping is implemented, use it instead
of unsafeBitCast to allow passing a closure capturing a non-escaping
block down to the C implementation of dispatch_data_apply (which does
not actually escape its block argument).
@MadCoder
Copy link
Contributor

MadCoder commented Jan 4, 2017

@swift-ci please test

@dgrove-oss
Copy link
Contributor Author

CI failure was on swiftpm test. both dispatch and foundation tests passed. Should be ok to merge.

@MadCoder MadCoder merged commit ac16fbb into swiftlang:master Jan 5, 2017
@dgrove-oss dgrove-oss deleted the SR-3477 branch January 5, 2017 20:44
das pushed a commit that referenced this pull request Feb 21, 2017
SR-3477: replace unsafeBitCast by withoutActuallyEscaping

Signed-off-by: Daniel A. Steffen <dsteffen@apple.com>
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