Skip to content

Conversation

@bnbarham
Copy link

@bnbarham bnbarham commented Oct 9, 2020

ObjCContainerDecl.getMethod returns a nullptr by default when the
container is a hidden prototype. Callsites where the method is being
looked up on the redeclaration's own container should skip this check
since they (rightly) expect a valid method to be found.

Resolves rdar://69444243

Reviewed By: akyrtzi

Differential Revision: https://reviews.llvm.org/D89024

Cherry-pick from fbb499e

ObjCContainerDecl.getMethod returns a nullptr by default when the
container is a hidden prototype. Callsites where the method is being
looked up on the redeclaration's own container should skip this check
since they (rightly) expect a valid method to be found.

Resolves rdar://69444243

Reviewed By: akyrtzi

Differential Revision: https://reviews.llvm.org/D89024
@bnbarham bnbarham requested a review from akyrtzi October 9, 2020 05:13
@bnbarham
Copy link
Author

bnbarham commented Oct 9, 2020

@swift-ci please test

@bnbarham bnbarham merged commit 22c8171 into swiftlang:apple/stable/20200714 Oct 9, 2020
@bnbarham bnbarham deleted the benb/cherry-pick-fbb499e branch October 9, 2020 06:37
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