You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
nyurik opened this issue
Dec 22, 2022
· 4 comments
Labels
A-parsingArea: Parser's logic and needs it changed somehow.C-bugCategory: Updating dependenciesE-mediumCall for participation: Experience needed to fix: Medium / intermediate
This was broken by #4350 because we aren't correctly processing nested groups, so when we do contains_id("Args"), it returns false and we don't process any of the arguments.
epage
added
A-parsing
Area: Parser's logic and needs it changed somehow.
E-medium
Call for participation: Experience needed to fix: Medium / intermediate
labels
Dec 22, 2022
So looking at this further, this is specifically when using Option with flatten and only because we haven't implemented nesting of groups. Because "SubArgs" has a group within it, we just don't bother populating the group.
Huh, for some reason I hadn't linked to this from the tracking issue so when #4697 came along, I linked that. I'll go ahead and close in favor of #4697 then.
A-parsingArea: Parser's logic and needs it changed somehow.C-bugCategory: Updating dependenciesE-mediumCall for participation: Experience needed to fix: Medium / intermediate
Please complete the following tasks
Rust Version
rustc 1.66.0 (69f9c33d7 2022-12-12)
Clap Version
4.0.30
Minimal reproducible code
Steps to reproduce the bug with the above code
run it
Actual Behaviour
parse succeeds, but ignores the first positional parameter.
Expected Behaviour
first positional parameter should be added to the
val2
Vec.Additional Context
No response
Debug Output
The text was updated successfully, but these errors were encountered: