Skip to content

flag: fix assigning to @[tail] field when no fields has been matched yet in flag.parse[T]() - #22043

Merged
spytheman merged 1 commit into
vlang:masterfrom
larpon:flag/fix-tail-edge-case
Aug 13, 2024
Merged

spytheman merged 1 commit into
vlang:masterfrom
larpon:flag/fix-tail-edge-case

Conversation

@larpon

@larpon larpon commented Aug 13, 2024

Copy link
Copy Markdown
Contributor

Fixes an edge case I found using flag.parse[T](). Some of the added tests would fail before the changes in this PR.

@spytheman
spytheman merged commit 21339fe into vlang:master Aug 13, 2024
@larpon
larpon deleted the flag/fix-tail-edge-case branch August 13, 2024 18:24
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