Skip to content

[6.0] Revert immutable let changes 6.0 #74056

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

Conversation

DougGregor
Copy link
Member

@DougGregor DougGregor commented May 31, 2024

Explanation: Revert a series of changes that improved on the modeling of immutability for let properties in initializers within the type checker, because it has caused various regressions and needs work. The root problem that triggered this work is the AsyncIteratorProtocol.next() default implementation in terms of next(isolation:), so remove that as well.
Reverted PRs: #73664, #73910, #72675 (partial)
Radar/issue: rdar://128890586, rdar://129031705, rdar://129065482
Risk: Low. Reverting to a known-good state.

@DougGregor DougGregor requested a review from a team as a code owner May 31, 2024 18:15
@DougGregor
Copy link
Member Author

@swift-ci please test

@DougGregor
Copy link
Member Author

@swift-ci please test macOS

@DougGregor
Copy link
Member Author

@swift-ci please test

@DougGregor DougGregor enabled auto-merge June 1, 2024 01:11
@DougGregor DougGregor merged commit d4ee434 into swiftlang:release/6.0 Jun 1, 2024
5 checks passed
@DougGregor DougGregor deleted the revert-immutable-let-changes-6.0 branch June 1, 2024 22:17
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