-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Tolerate missing Sendable conformances on superclasses. #40821
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
Tolerate missing Sendable conformances on superclasses. #40821
Conversation
Fixes the crash in rdar://86653457 (cherry picked from commit 5023a93)
@swift-ci please test |
@swift-ci please nominate |
Build failed |
@swift-ci please test Linux |
Build failed |
@swift-ci please test Linux |
Build failed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, so this'll be fine since we want to see the synthesized missing conformance instead of an error right away?
@swift-ci please test Linux |
Right. This area needs to maintain an invariant that the inherited conformance always has a |
Description: Fix a compiler crash on invalid code due to missing
Sendable
conformances on a superclass.Risk: Low
Testing: PR testing
Original PR: #40801
Reviewed by: Konrad Malawski
Radar: rdar://86653457