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

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

Merged
merged 1 commit into from
Aug 13, 2024

Conversation

larpon
Copy link
Contributor

@larpon larpon commented Aug 13, 2024

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
61 checks passed
@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