Skip to content

[5.9][Sema] InitAccessors: Don't synthesize default memberwise arg for ini… #66464

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

xedin
Copy link
Contributor

@xedin xedin commented Jun 8, 2023

…t accessor initializations

Cherry-pick of #66463


  • Explanation:

Default arguments for init accessors are not fully supported at the moment,
so we shouldn't attempt to synthesize them in Sema just to crash during linking.

(cherry picked from commit 8c54d3d)

…t accessor initializations

Default arguments for `init accessors` are not fully supported
at the moment, so we shouldn't attempt to synthesize them in
Sema just to crash during linking.

(cherry picked from commit 8c54d3d)
@xedin xedin added 🍒 release cherry pick Flag: Release branch cherry picks swift 5.9 labels Jun 8, 2023
@xedin xedin requested a review from hborla June 8, 2023 19:18
@xedin xedin requested a review from a team as a code owner June 8, 2023 19:18
@xedin
Copy link
Contributor Author

xedin commented Jun 8, 2023

@swift-ci please test

@xedin xedin merged commit 089b8b8 into swiftlang:release/5.9 Jun 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🍒 release cherry pick Flag: Release branch cherry picks swift 5.9
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants