Skip to content

[5.10] IRGen: fix emission of constant single-case enums without payload #68623

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
Sep 20, 2023

Conversation

eeckstein
Copy link
Contributor

@eeckstein eeckstein commented Sep 19, 2023

This is a follow-up of swiftlang#68516 which didn't handle the no-payload case correctly

Fixes a compiler crash

rdar://115666971
@eeckstein eeckstein requested a review from a team as a code owner September 19, 2023 16:23
@eeckstein
Copy link
Contributor Author

@swift-ci test

@eeckstein eeckstein changed the title IRGen: fix emission of constant single-case enums without payload [5.10] IRGen: fix emission of constant single-case enums without payload Sep 19, 2023
Copy link
Contributor

@aschwaighofer aschwaighofer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@eeckstein eeckstein merged commit 4c470c3 into swiftlang:release/5.10 Sep 20, 2023
@eeckstein eeckstein deleted the fix-singleton-enum-5.10 branch September 20, 2023 06:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants