Skip to content

flag: better covering fix for #25166 tail/single bool flag error in flag_to.v#25189

Merged
spytheman merged 1 commit into
vlang:masterfrom
larpon:flag/better-fix-for-bools-in-v-mode
Aug 29, 2025
Merged

flag: better covering fix for #25166 tail/single bool flag error in flag_to.v#25189
spytheman merged 1 commit into
vlang:masterfrom
larpon:flag/better-fix-for-bools-in-v-mode

Conversation

@larpon

@larpon larpon commented Aug 29, 2025

Copy link
Copy Markdown
Contributor

Turns out the previous fix did not cover cases where there were multiple flags involved. This improved fix should cover cases where the bool flag is not only the tail/last in the argument list. New tests included for the new case

@huly-for-github

Copy link
Copy Markdown

Connected to Huly®: V_0.6-24304

Comment thread vlib/flag/flag_to_tail_bool_test.v

@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 7831fb0 into vlang:master Aug 29, 2025
73 checks passed
@larpon larpon deleted the flag/better-fix-for-bools-in-v-mode branch August 29, 2025 17:38
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