ruff/crates/ty_ide
Andrew Gallant 65f32edbc7 [ty] Refactor covering node representation
This commit doesn't change any functionality, but instead changes the
representation of `CoveringNode` to make the implementation simpler (as
well as planned future additions). By putting the found node last in the
list of ancestors (now just generically called `nodes`), we reduce the
amount of special case handling we need.

The downside is that the representation now allows invalid states (a
`CoveringNode` with no elements). But I think this is well mitigated by
encapsulation.
2025-06-11 14:31:38 -04:00
..
src [ty] Refactor covering node representation 2025-06-11 14:31:38 -04:00
Cargo.toml Rename Red Knot (#17820) 2025-05-03 19:49:15 +02:00