Skip to content

Conversation

@aschwaighofer
Copy link
Contributor

Ignore the decl inside the protocol decl.

Before this patch we would fail in the type checker with ambigious symbols to be replaced:
the default implementation and the procotol requirement.

Scope: Affects dynamic replacements of protocol extensions.
Risk: Low. We remove one entry from the found candidates: the protocol
requirement.
Testing: Regression tests.

rdar://52863618

…entation

Ignore the decl inside the protocol decl.

Before this patch we would fail in the type checker with ambigious symbols to be replaced:
the default implementation and the procotol requirement.

Scope: Affects dynamic replacements of protocol extensions.
Risk: Low. We remove one entry from the found candidates: the protocol
requirement.
Testing: Regression tests.

rdar://52863618
@aschwaighofer aschwaighofer requested a review from DougGregor July 11, 2019 17:18
@aschwaighofer
Copy link
Contributor Author

@swift-ci Please test

Copy link
Member

@DougGregor DougGregor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@aschwaighofer aschwaighofer merged commit 21d1951 into swiftlang:swift-5.1-branch Jul 12, 2019
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