Skip to content

[test] @objc optional should always use a dynamic dispatch #20487

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

jrose-apple
Copy link
Contributor

Right now we're not being careful about 'optional' in witness tables for parseable interfaces; we're listing the requirement as the implementation even if the requirement is optional. As long as we don't optimize based on that information, though, we should be okay.

@jrose-apple
Copy link
Contributor Author

@swift-ci Please test

@swift-ci
Copy link
Contributor

Build failed
Swift Test Linux Platform
Git Sha - 316d55736f6fb0d8c2523ea4ed461c696f80d733

Right now we're not being careful about 'optional' in witness tables
for parseable interfaces; we're listing the requirement as the
implementation even if the requirement is optional. As long as we
don't optimize based on that information, though, we should be okay.
@jrose-apple jrose-apple force-pushed the always-nice-to-have-options branch from 316d557 to bc80b1f Compare November 10, 2018 01:15
@jrose-apple
Copy link
Contributor Author

@swift-ci Please test

@swift-ci
Copy link
Contributor

Build failed
Swift Test Linux Platform
Git Sha - 316d55736f6fb0d8c2523ea4ed461c696f80d733

@swift-ci
Copy link
Contributor

Build failed
Swift Test OS X Platform
Git Sha - 316d55736f6fb0d8c2523ea4ed461c696f80d733

@jrose-apple jrose-apple merged commit 25d380c into swiftlang:master Nov 12, 2018
@jrose-apple jrose-apple deleted the always-nice-to-have-options branch November 12, 2018 16:25
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