Skip to content

[6.2] Sema: Implement missing part of SE-0346 #81950

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

slavapestov
Copy link
Contributor

@slavapestov slavapestov commented Jun 3, 2025

6.2 cherry-pick of #81949.

@slavapestov slavapestov requested a review from a team as a code owner June 3, 2025 18:41
@slavapestov slavapestov changed the title [6.2] Missing part of se 0346 6.2 [6.2] Missing part of SE-0346 Jun 3, 2025
@slavapestov slavapestov changed the title [6.2] Missing part of SE-0346 [6.2] Implement the missing part of SE-0346 Jun 3, 2025
@slavapestov slavapestov changed the title [6.2] Implement the missing part of SE-0346 [6.2] Sema: Implement missing part of SE-0346 Jun 3, 2025
@slavapestov
Copy link
Contributor Author

@swift-ci Please test

The proposal states that this should work, but this was never
implemented:

    protocol P<A> {
      associatedtype A
    }

    struct S: P<Int> {}

- Fixes swiftlang#62906.
- Fixes rdar://91842338.
@slavapestov slavapestov force-pushed the missing-part-of-se-0346-6.2 branch from ec085ed to 19621bc Compare June 3, 2025 21:29
@slavapestov
Copy link
Contributor Author

@swift-ci Please test

@slavapestov
Copy link
Contributor Author

We decided to leave this on main and not cherry-pick because of the risk of request cycles being introduced by type resolution.

@slavapestov slavapestov closed this Jun 4, 2025
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