Skip to content

[CSGen] Fix compiler crash when property wrapper applied to a param lacks wrappedValue initializer #77689

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
Nov 20, 2024

Conversation

janbaig
Copy link
Contributor

@janbaig janbaig commented Nov 18, 2024

This commit fixes a compiler crash that occurred when dealing with external property wrappers that had a missing wrappedValue init when they were applied onto parameters.

Resolves: #65500

@janbaig janbaig changed the title [CSGen] Fix compiler crash when property wrapper lacks wrappedValue initializer on parameters [CSGen] Fix compiler crash when property wrapper applied to a param lacks wrappedValue initializer Nov 18, 2024
@xedin
Copy link
Contributor

xedin commented Nov 19, 2024

@swift-ci please test

@xedin
Copy link
Contributor

xedin commented Nov 20, 2024

@swift-ci please test Windows platform

@xedin xedin merged commit 9eaad63 into swiftlang:main Nov 20, 2024
5 checks passed
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.

Property wrapped arguments crash the compiler when a wrappedValue initializer does not exist.
2 participants