forked from coq/coq
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge PR coq#18432: Ltac2 typed notations
Reviewed-by: ppedrot Ack-by: rlepigre Co-authored-by: ppedrot <[email protected]>
- Loading branch information
Showing
18 changed files
with
258 additions
and
55 deletions.
There are no files selected for viewing
10 changes: 10 additions & 0 deletions
10
doc/changelog/06-Ltac2-language/18432-ltac2-typed-notation.rst
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
- **Changed:** | ||
Ltac2 are typechecked at declaration time by default. | ||
This should produce better errors when a notation argument does not have the expected type | ||
(e.g. wrong branch type in `match! goal`). | ||
The previous behaviour of typechecking only the expansion result can be | ||
recovered using :flag:`Ltac2 Typed Notations`. We believe there are no real | ||
use cases for this, please report if you have any | ||
(`#18432 <https://github.com/coq/coq/pull/18432>`_, | ||
fixes `#17477 <https://github.com/coq/coq/issues/17477>`_, | ||
by Gaëtan Gilbert). |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.