ruff/crates/red_knot_python_semantic/resources/mdtest/generics
Carl Meyer abaa18993b
[red-knot] handle cycles in MRO/bases resolution (#16693)
There can be semi-cyclic inheritance patterns (e.g. recursive generics)
that are not technically inheritance cycles, but that can cause us to
hit Salsa query cycles in evaluating a type's MRO. Add fixed-point
handling to these MRO-related queries so we don't panic on these cycles.

The details of what queries we hit in what order in this case will
change as we implement support for generics, but ultimately we will
probably need cycle handling for all queries that can re-enter type
inference, otherwise we are susceptible to small changes in query
execution order causing panics.

Fixes #14333
Further reduces the panicking set of seeds in #14737
2025-03-13 08:16:03 -07:00
..
classes.md [red-knot] handle cycles in MRO/bases resolution (#16693) 2025-03-13 08:16:03 -07:00
functions.md [red-knot] detect invalid return type (#16540) 2025-03-12 01:58:59 +00:00
legacy.md [red-knot] Several failing tests for generics (#16509) 2025-03-05 17:21:19 -05:00
pep695.md [red-knot] Several failing tests for generics (#16509) 2025-03-05 17:21:19 -05:00
scoping.md [red-knot] detect invalid return type (#16540) 2025-03-12 01:58:59 +00:00