Skip to content

checker: suggest @[_allow_multiple_values] attribute when using multi enum values - #22224

Merged
spytheman merged 5 commits into
vlang:masterfrom
Delta456:allow_multi_val_enum
Sep 16, 2024
Merged

spytheman merged 5 commits into
vlang:masterfrom
Delta456:allow_multi_val_enum

Conversation

@Delta456

Copy link
Copy Markdown
Member

Documents @[_allow_multiple_values] attribute and also suggests a hint when using multiple enum values

Also fixes #22221

@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.

Comment thread doc/docs.md Outdated
Comment thread doc/docs.md Outdated
@spytheman
spytheman merged commit 0fb95a8 into vlang:master Sep 16, 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.

Allow same enum value

2 participants