+
Skip to content

Conversation

sylvestre
Copy link
Contributor

No description provided.

@sylvestre sylvestre marked this pull request as draft July 23, 2023 10:54
@sylvestre sylvestre force-pushed the clap4 branch 3 times, most recently from 1e79c00 to db9dc34 Compare July 23, 2023 13:04
@sylvestre
Copy link
Contributor Author

@tertsdiepraam as you are the expert on clap, do you know how to fix:


thread \'main\' panicked at \'Mismatch between definition and access of `delimiter`. Could not downcast to TypeId { t: 289972885646747488160657788137083402613 }, need to downcast to TypeId { t: 7428646492878894209665195255548636123 }
\', /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/clap_builder-4.3.19/src/parser/error.rs:32:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

@tertsdiepraam
Copy link
Member

I think you're calling parse_delimiter twice. The resullt of the first is stored by clap and then you can do get_one with the type of the delimiter.

@cakebaker
Copy link
Contributor

Superseded by #331

@cakebaker cakebaker closed this Mar 15, 2024
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.

3 participants

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载