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

feat: add qualifiers for Arg and Flag to disambiguate Cli.{Parsed.}Flag #20

Closed

Conversation

bollu
Copy link

@bollu bollu commented Nov 1, 2024

Thanks to leanprover/lean4#5783, we now have recursive structure commands,
which trips the inference into constructing a recursive struct. Therefore, we disambiguate the fields in Cli.Parsed.Flag to explicitly refer to Cli.Flag.

Discovered when bumping toolchain to nightly in leanprover/LNSym#244.

Thanks to leanprover/lean4#5783,
we now have recursive structure commands,
which trips the inference into constructing a recursive struct.
Therefore, we disambiguate the fields in `Cli.Parsed.Flag` to explicitly refer to `Cli.Flag`.

Discovered when bumping toolchain to nightly in leanprover/LNSym#244.
@bollu bollu force-pushed the adapt-to-recursive-structures branch from d8545d4 to 0a0e103 Compare November 1, 2024 18:39
@mhuisi
Copy link
Collaborator

mhuisi commented Nov 1, 2024

This is already fixed on the nightly branch, which will be merged into main when 4.14.0-rc1 is released.

@mhuisi mhuisi closed this Nov 1, 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.

2 participants