Make f (x:=e)%s parse as f (x:=e%s) instead of (f (x:=e))%s - #22357
Merged
Merged
Conversation
Contributor
Author
|
looks like moving the % to a separate entry breaks compatibility when there is a notation using %, cf color failure. Reserved Notation "x %" (at level 1).
Check 0%nat. (* master: accepted, PR: unknown interpretation for "_ %" (parsed as "(0 %) nat") *) |
proux01
reviewed
Aug 18, 2026
This also makes it stop relying on level tolerance. Fix rocq-prover#22324
Contributor
|
@SkySkimmer CI "green", if my "fix" seems acceptable to you, I'll merge |
Contributor
Author
|
seems fine |
Contributor
|
@coqbot merge now |
Contributor
|
@proux01: You can't merge the PR because it hasn't been approved yet. |
proux01
approved these changes
Aug 21, 2026
Contributor
|
@coqbot merge now |
Contributor
|
@proux01: Please take care of the following overlays:
|
proux01
added a commit
to rocq-community/rocq-lsp
that referenced
this pull request
Aug 21, 2026
proux01
added a commit
to rocq-community/rocq-lsp
that referenced
this pull request
Aug 21, 2026
gares
added a commit
to gares/coq
that referenced
this pull request
Aug 31, 2026
…` instead of `(f (x:=e))%s`
Member
|
Backporting the overlay does not work, I guess it got entangled with another change in the parser, see #22316 job https://github.com/rocq-prover/rocq/pull/22316/checks?check_run_id=99841289058 . I think I will put this into 9.4 |
This was referenced Sep 1, 2026
Closed
proux01
added a commit
to rocq-community/rocq-lsp
that referenced
this pull request
Sep 1, 2026
This reverts commit 8fdc13f.
proux01
added a commit
to rocq-community/rocq-lsp
that referenced
this pull request
Sep 1, 2026
Contributor
gares
added a commit
to gares/coq
that referenced
this pull request
Sep 18, 2026
…` instead of `(f (x:=e))%s`
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This also makes it stop relying on level tolerance.
Fix #22324
Overlay (to be merged in sync with the current PR)