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

v.pref: simplify command arg handling, add tests #21406

Merged
merged 3 commits into from May 3, 2024

Conversation

ttytm
Copy link
Member

@ttytm ttytm commented May 2, 2024

Splits up changes to improve the module's quality step by step with as few complications as possible. Should eventually allow for further performance improvements

@ttytm ttytm marked this pull request as draft May 2, 2024 22:55
@ttytm ttytm marked this pull request as ready for review May 2, 2024 23:07
/*
$if macos || linux {
/* $if macos || linux {
res.use_cache = true
res.skip_unused = true
}
*/
} */
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Imho just delete those lines. Commented code like that, without clear purpose explained in the comments, is just cruft.

Copy link
Member

@spytheman spytheman left a comment

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 0be5377 into vlang:master May 3, 2024
54 checks passed
@ttytm ttytm deleted the pref/update-command-handling branch May 3, 2024 07:18
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.

None yet

2 participants