-
Notifications
You must be signed in to change notification settings - Fork 10.5k
[5.5][SILGen] Fix a crash when a wrapped property initial value has a re-abstractable type. #37982
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
[5.5][SILGen] Fix a crash when a wrapped property initial value has a re-abstractable type. #37982
Conversation
initializers if the member is a property wrapper. This code assumes that the initial value of the member and the result of initialization are the same type (but differing in abstraction level). This isn't true for property wrappers because the initial value can be the wrapped value type, but the result is always the property wrapper type. Property wrapper types are never reabstractable types anyway, so the converting initialization isn't necessary.
@swift-ci please test |
Build failed |
@swift-ci clean test |
Build failed |
@swift-ci please test macOS platform |
Build failed |
Build failed |
@swift-ci please test macOS platform |
Build failed |
@swift-ci please test macOS platform |
Build failed |
Looks like this is blocking a bunch of other release/5.5 PRs as well. |
Cherry-pick of #37936
Resolves: rdar://77339559