Skip to content

[6.0] Fix name lookup in nested protocol inheritance clauses #73286

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
Apr 29, 2024

Conversation

karwa
Copy link
Contributor

@karwa karwa commented Apr 26, 2024

Explanation: Fix an issue with name lookup that prevents nested protocols from being able to refine protocols in outer scopes (reported on the forums - https://forums.swift.org/t/circular-reference-in-protocol-nesting/70336)
Scope: Name lookup
Risk: low -- the behaviour change is tightly scoped
Testing: CI

Reviewed By: @slavapestov in #72713

@karwa karwa requested a review from a team as a code owner April 26, 2024 16:03
@slavapestov
Copy link
Contributor

@swift-ci Please test

@slavapestov
Copy link
Contributor

@swift-ci Please test source compatibility

@hborla hborla merged commit 6a1eed7 into swiftlang:release/6.0 Apr 29, 2024
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