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

Renaming arguments in nested sections #18392

Closed
herbelin opened this issue Dec 9, 2023 · 2 comments · Fixed by #18393
Closed

Renaming arguments in nested sections #18392

herbelin opened this issue Dec 9, 2023 · 2 comments · Fixed by #18393
Labels
kind: bug An error, flaw, fault or unintended behaviour. kind: user messages Improvement of error messages, new warnings, etc. part: implicit arguments The implicit arguments mechanism, generalizable variables, etc. part: sections The section mechanism of Coq.
Milestone

Comments

@herbelin
Copy link
Member

herbelin commented Dec 9, 2023

Description of the problem

A small bug in situations where Arguments renames arguments in nested sections:

Section S.
Variable a : nat.
Section T.
Variable b : nat.
Axiom f : forall c, a + b = c.
Global Arguments f c' : rename.
About f. (* f : forall c' : nat, a + b = c' *)
End T.
About f. (* forall b c' : nat, a + b = c' *)
End S.
About f. (* f : forall a c' c : nat, a + c' = c *)

I'll do a fix.

Coq Version

Since the beginning of Arguments (8.4).

@herbelin herbelin added kind: user messages Improvement of error messages, new warnings, etc. part: sections The section mechanism of Coq. kind: bug An error, flaw, fault or unintended behaviour. part: implicit arguments The implicit arguments mechanism, generalizable variables, etc. labels Dec 9, 2023
@herbelin herbelin added this to the 8.20+rc1 milestone Dec 9, 2023
herbelin added a commit to herbelin/github-coq that referenced this issue Dec 9, 2023
@herbelin
Copy link
Member Author

herbelin commented Dec 9, 2023

Was actually already reported as #12755.

herbelin added a commit to herbelin/github-coq that referenced this issue Dec 9, 2023
herbelin added a commit to herbelin/github-coq that referenced this issue Dec 9, 2023
herbelin added a commit to herbelin/github-coq that referenced this issue Dec 10, 2023
coqbot-app bot added a commit that referenced this issue Dec 11, 2023
…ted in nested sections

Reviewed-by: SkySkimmer
Co-authored-by: SkySkimmer <SkySkimmer@users.noreply.github.com>
Copy link
Contributor

coqbot-app bot commented Dec 11, 2023

The milestone of this issue was changed to reflect the one of the pull request that closed it.

@coqbot-app coqbot-app bot modified the milestones: 8.20+rc1, 8.19+rc1 Dec 11, 2023
SkySkimmer pushed a commit to SkySkimmer/coq that referenced this issue Dec 13, 2023
SkySkimmer added a commit to SkySkimmer/coq that referenced this issue Dec 13, 2023
SkySkimmer pushed a commit that referenced this issue Dec 14, 2023
SkySkimmer added a commit that referenced this issue Dec 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind: bug An error, flaw, fault or unintended behaviour. kind: user messages Improvement of error messages, new warnings, etc. part: implicit arguments The implicit arguments mechanism, generalizable variables, etc. part: sections The section mechanism of Coq.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant