-
Notifications
You must be signed in to change notification settings - Fork 10.5k
[Sema] Fix a crash when attempting to synthesise raw representable conformance #23357
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
Conversation
…num elements have a payload
Thanks, Suyash! Do we still produce the usual diagnostic about mixing raw values and associated types? |
@swift-ci Please test |
Yeah, we do: |
Build failed |
Build failed |
Unrelated build failure: |
Must have caught it between Duncan's Clang and Swift patches. @swift-ci Please test |
Build failed |
…right, it's not just the merge into Clang; it has to propagate from 5.1 to stable. |
Build failed |
@jrose-apple The changes got reverted, so it should be fine now. Could you trigger the CI again? Thanks! |
@swift-ci Please test |
Build failed |
Oops, I forgot to prefix the RUN args with |
Build failed |
@swift-ci Please test |
This comment has been minimized.
This comment has been minimized.
… @swift-ci Please test macOS |
This comment has been minimized.
This comment has been minimized.
This one's probably good to cherry-pick too! |
@jrose-apple Done - #23428 😄 |
This PR fixes a crash when attempting to derive raw representable conformance for an enum which has cases with payloads.
Resolves SR-10108.