Skip to content

checker: require enum values to be declared, before using them in other enum values - #21913

Merged
spytheman merged 4 commits into
vlang:masterfrom
Delta456:enum_field_val
Jul 23, 2024
Merged

spytheman merged 4 commits into
vlang:masterfrom
Delta456:enum_field_val

Conversation

@Delta456

Copy link
Copy Markdown
Member

Fixes #21912

@Delta456
Delta456 marked this pull request as ready for review July 23, 2024 11:45

@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 changed the title checker: check enum value before use checker: require enum values to be declared, before using them in other enum values Jul 23, 2024
@spytheman
spytheman merged commit 6bea0cb into vlang:master Jul 23, 2024
@Delta456
Delta456 deleted the enum_field_val branch July 23, 2024 12:19
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.

cgen error when trying to use enum key prematurely

2 participants