From 27270870ea75e77808d8e1b4af4998c0b57255ae Mon Sep 17 00:00:00 2001 From: Kazuhiko Sakaguchi Date: Wed, 10 Mar 2021 13:07:58 +0900 Subject: 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. --- .../07-vernac-commands-and-options/13909-reduce-ambiguous-paths.rst | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 doc/changelog/07-vernac-commands-and-options/13909-reduce-ambiguous-paths.rst (limited to 'doc') diff --git a/doc/changelog/07-vernac-commands-and-options/13909-reduce-ambiguous-paths.rst b/doc/changelog/07-vernac-commands-and-options/13909-reduce-ambiguous-paths.rst new file mode 100644 index 0000000000..c5a2172005 --- /dev/null +++ b/doc/changelog/07-vernac-commands-and-options/13909-reduce-ambiguous-paths.rst @@ -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 `_, + by Kazuhiko Sakaguchi). -- cgit v1.2.3