Skip to content

Always create synthetic enum initializer #611

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 2 commits into from
Mar 14, 2025

Conversation

rbuckton
Copy link

An addendum to #607, this forces most initialized enum members to use a synthetic node to align with Strada emit for literal values. #607 attempted to preserve the original expression for the purpose of comment emit and preserving quote style, but that turns out to be inconsistent with Strada.

@rbuckton rbuckton requested a review from jakebailey March 14, 2025 22:26
@rbuckton rbuckton added this pull request to the merge queue Mar 14, 2025
Merged via the queue into microsoft:main with commit 710ddfc Mar 14, 2025
21 checks passed
@rbuckton rbuckton deleted the enum-evaluation2 branch March 14, 2025 22:54
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.

2 participants