Skip to content

cgen: fix enum value to print like its declared enum underlying type - #22945

Merged
spytheman merged 1 commit into
vlang:masterfrom
felipensp:fix_enum_print_as_int
Nov 23, 2024
Merged

spytheman merged 1 commit into
vlang:masterfrom
felipensp:fix_enum_print_as_int

Conversation

@felipensp

@felipensp felipensp commented Nov 23, 2024 •

Copy link
Copy Markdown
Member

@felipensp felipensp changed the title cgen: fix enum value to print like int type cgen: fix enum value to print like its declared enum underlying type Nov 23, 2024
@felipensp
felipensp marked this pull request as ready for review November 23, 2024 18:57

@spytheman spytheman left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Excellent work.

@spytheman
spytheman merged commit e4d24e8 into vlang:master Nov 23, 2024
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.

enum value field is not printed correctly

2 participants