Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't make too many coercions reversible by default
The doc reads > By default coercions are not reversible > except for Record fields specified using :>. The previous code was making way too many coercion reversible by default. The new behavior should be closer from the spec in the doc.
- Loading branch information
Showing
5 changed files
with
25 additions
and
14 deletions.
There are no files selected for viewing
11 changes: 11 additions & 0 deletions
11
doc/changelog/08-vernac-commands-and-options/18705-fix_reversible_coercion.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,11 @@ | ||
- **Changed:** | ||
the default reversibility status of most coercions. | ||
The refman states that | ||
|
||
By default coercions are not reversible | ||
except for Record fields specified using ``:>``. | ||
|
||
The previous code was making way too many coercion reversible by default. | ||
The new behavior should be closer from the spec in the doc | ||
(`#18705 <https://github.com/coq/coq/pull/18705>`_, | ||
by Pierre Roux). |
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