Skip to content

cgen: fix generated str method for enums that have C values (use ifs, instead of switch) (fix #25135)#25157

Merged
spytheman merged 2 commits into
vlang:masterfrom
spytheman:fix_cgen_for_str_methods_for_enums_with_c_values
Aug 23, 2025
Merged

cgen: fix generated str method for enums that have C values (use ifs, instead of switch) (fix #25135)#25157
spytheman merged 2 commits into
vlang:masterfrom
spytheman:fix_cgen_for_str_methods_for_enums_with_c_values

Conversation

@spytheman

@spytheman spytheman commented Aug 23, 2025

Copy link
Copy Markdown
Contributor

Fix #25135 .

@huly-for-github

Copy link
Copy Markdown

Connected to Huly®: V_0.6-23863

@spytheman spytheman changed the title cgen: fix generated str method for enums that have C values (use ifs, instead of switch) cgen: fix generated str method for enums that have C values (use ifs, instead of switch) (fix #25135) Aug 23, 2025
@spytheman spytheman merged commit 83385a8 into vlang:master Aug 23, 2025
83 checks passed
@spytheman spytheman deleted the fix_cgen_for_str_methods_for_enums_with_c_values branch August 23, 2025 06:45
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.

SDL3 C error

1 participant