Skip to content
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

Tweak "initializable values" logic slightly to address source incompatibilities #74133

Merged
merged 2 commits into from
Jun 5, 2024

Conversation

DougGregor
Copy link
Member

Back of slightly on when we treat a "let" instance property as immutable within an initializer, to deal with two newly-introduced source incompatibilities.

Fixes rdar://129253556.

@DougGregor
Copy link
Member Author

@swift-ci please smoke test

@DougGregor DougGregor enabled auto-merge June 5, 2024 00:31
…tibilities

Back of slightly on when we treat a "let" instance property as immutable
within an initializer, to deal with two newly-introduced source
incompatibilities.

Fixes rdar://129253556.
@DougGregor DougGregor force-pushed the mutable-lets-in-inits-tweaks branch from 574a60c to 62558b0 Compare June 5, 2024 05:47
@DougGregor
Copy link
Member Author

@swift-ci please smoke test

@DougGregor DougGregor merged commit 67c0fd8 into swiftlang:main Jun 5, 2024
3 checks passed
@DougGregor DougGregor deleted the mutable-lets-in-inits-tweaks branch September 5, 2024 17:43
DougGregor added a commit to DougGregor/swift that referenced this pull request Sep 5, 2024
Back off treating local lets of tuple type as "initializable", expanding
on the narrow carve-out from swiftlang#74133. Without this, we would reject local
lets of tuple type that are initialized piecemeal.

Fixes rdar://135028163.
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.

1 participant