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
thread 'main' panicked at 'Argument values's default_value=a,b,a failed validation: ', /home/epage/src/personal/clap/src/build/debug_asserts.rs:690:21
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
This regression was introduced in #3423 because delimited values were not taken into account.
To fix this, we need to take delimited values into account and add tests for this case (ideally at the builder level).
epage
added a commit
to epage/clap
that referenced
this issue
Feb 28, 2022
Please complete the following tasks
Rust Version
rustc 1.59.0 (9d1b2106e 2022-02-23)
Clap Version
3.1.2
Minimal reproducible code
Steps to reproduce the bug with the above code
Executes the two tests provided in the minimal reproducible code; they both fail in 3.1 but pass in 3.0
Actual Behaviour
A validation error is thrown when the configuration is built.
Expected Behaviour
The configuration is valid in 3.0 and should be valid in 3.1 too.
Additional Context
No response
Debug Output
No response
The text was updated successfully, but these errors were encountered: