* Now `getPathToBaseStructure?` can navigate to all parent structures, not just through subobjects. * Adds a "resolution order" for methods. This is the order that generalized field notation visits parent structures when trying to resolve names. The algorithm to compute a resolution order is the commonly used C3 (used for instance by Python). By default we use a relaxed version of the algorithm that tolerates inconsistencies. Using `set_option structure.strictResolutionOrder true` makes inconsistent parent orderings into warnings. * This makes generalized field notation be able to resolve names for all parent structures, not just those that are embedded as subobjects. Closes #3467. (And addresses side note in #1881.) * Modifies `getAllParentStructures` to return *all* parents. This improves dot completion in the editor. |
||
|---|---|---|
| .. | ||
| bench | ||
| compiler | ||
| elabissues | ||
| ir | ||
| lean | ||
| pkg | ||
| playground | ||
| plugin | ||
| simpperf | ||
| .gitignore | ||
| common.sh | ||
| lean-toolchain | ||