Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Minimize the set of multiple inheritance paths to check for conversion
The table of coercion classes (`class_tab`) has been extended with information about reachability. The conversion checking of a pair of multiple inheritance paths (of coercions) will be skipped if these paths can be reduced to smaller adjoining pairs of multiple inheritance paths, and this reduction will be determined based on that reachability information.
- Loading branch information
Showing
5 changed files
with
177 additions
and
76 deletions.
There are no files selected for viewing
6 changes: 6 additions & 0 deletions
6
doc/changelog/07-vernac-commands-and-options/13909-reduce-ambiguous-paths.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,6 @@ | ||
- **Changed:** | ||
Improve the :cmd:`Coercion` command to reduce the number of ambiguous paths to | ||
report. A pair of multiple inheritance paths that can be reduced to smaller | ||
adjoining pairs will not be reported as ambiguous paths anymore. | ||
(`#13909 <https://github.com/coq/coq/pull/13909>`_, | ||
by Kazuhiko Sakaguchi). |
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.