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

Anomaly when disabling a previously unbound notation in a custom grammar #17782

Closed
charguer opened this issue Jun 29, 2023 · 1 comment · Fixed by #17891
Closed

Anomaly when disabling a previously unbound notation in a custom grammar #17782

charguer opened this issue Jun 29, 2023 · 1 comment · Fixed by #17891
Labels
kind: anomaly An uncaught exception has been raised. part: notations The notation system.
Milestone

Comments

@charguer
Copy link
Contributor

In Coq 8.17.

Declare Custom Entry trm.
Disable Notation "'foo' _"  (in custom trm).

gives Anomaly "Uncaught exception Not_found."

If no custom entry is involved, a proper error message is produced: Found no matching notation to enable or disable.

herbelin added a commit to herbelin/github-coq that referenced this issue Jul 26, 2023
@herbelin herbelin added part: notations The notation system. kind: anomaly An uncaught exception has been raised. labels Jul 26, 2023
@herbelin
Copy link
Member

Thanks for noticing. Fixed by #17891.

herbelin added a commit to herbelin/github-coq that referenced this issue Jul 26, 2023
coqbot-app bot added a commit that referenced this issue Aug 2, 2023
…xisting custom notation

Reviewed-by: proux01
Co-authored-by: proux01 <proux01@users.noreply.github.com>
@coqbot-app coqbot-app bot added this to the 8.18.0 milestone Aug 2, 2023
@Zimmi48 Zimmi48 modified the milestones: 8.18.0, 8.19+rc1 Oct 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind: anomaly An uncaught exception has been raised. part: notations The notation system.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants