Skip to content
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

checker: fix non dereferenced enum in match statements (fixes #10045) #20591

Merged
merged 1 commit into from
Jan 20, 2024
Merged

checker: fix non dereferenced enum in match statements (fixes #10045) #20591

merged 1 commit into from
Jan 20, 2024

Conversation

pierrec
Copy link
Contributor

@pierrec pierrec commented Jan 19, 2024

Add a check for non-dereferenced enum values when used in a match statement and a corresponding test.
This fixes issue #10045.

Signed-off-by: Pierre Curto <pierre.curto@gmail.com>
Copy link
Member

@spytheman spytheman left a comment

Choose a reason for hiding this comment

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

Good work.

@spytheman spytheman merged commit d912268 into vlang:master Jan 20, 2024
54 checks passed
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