-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Always try to call the most-derived ObjC protocol method #9681
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
7879b53
to
4a869b3
Compare
@swift-ci Please test. |
Build failed |
Build failed |
the class's protocol hierarchy that overrides it. rdar://31471034
4a869b3
to
7725e38
Compare
@swift-ci Please test. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This LGTM, thank you!
Build failed |
Build failed |
@swift-ci Please test |
@swift-ci Please test OS X. |
Build failed |
Okay, those i386 simulator test failures are present on the main bots, which means this patch is actually clean, barring weirdness. |
@swift-ci Please smoke test os x. |
Don't mirror-import a protocol method if there's another method in the class's protocol hierarchy that overrides it.
rdar://31471034