Skip to content

parser: allow multi flag value acceptable to enum.from() - #21615

Merged
spytheman merged 2 commits into
vlang:masterfrom
felipensp:fix_enum_flag_from
Jun 1, 2024
Merged

spytheman merged 2 commits into
vlang:masterfrom
felipensp:fix_enum_flag_from

Conversation

@felipensp

Copy link
Copy Markdown
Member

Fix #21569

Comment thread vlib/v/parser/parser.v Outdated
Comment thread vlib/v/tests/flag_from_test.v
@felipensp
felipensp marked this pull request as ready for review June 1, 2024 12:12

@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 d750528 into vlang:master Jun 1, 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.

An enum with attribute @[flag] does not accept a value with a mixture of enumerations.

2 participants