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

fix: Don't panic when propagating #3311

Merged
merged 1 commit into from Jan 18, 2022
Merged

fix: Don't panic when propagating #3311

merged 1 commit into from Jan 18, 2022

Conversation

epage
Copy link
Member

@epage epage commented Jan 18, 2022

I thought I was adding a test in #3305. Maybe I considered the
clap_complete changes sufficient for this. Doing more debug_asserts
would be good also.

Unsetting PropagateVersion helps in some cases but we need to unset it
globally to override the global propagation.

Fixes #3310

I thought I was adding a test in clap-rs#3305.  Maybe I considered the
clap_complete changes sufficient for this.  Doing more `debug_assert`s
would be good also.

Unsetting `PropagateVersion` helps in some cases but we need to unset it
globally to override the global propagation.

Fixes clap-rs#3310
@epage epage merged commit c6b5f64 into clap-rs:master Jan 18, 2022
@epage epage deleted the fix branch January 18, 2022 20:58
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.

debug_assert fails with PropagateVersion in 3.0.8/3.0.9, but get_matches does not
1 participant