Files
ruff/crates/red_knot_python_semantic/resources/mdtest/narrow
Douglas Creager b2a0d68d70 Narrowing for class patterns in match statements (#15223)
We now support class patterns in a match statement, adding a narrowing
constraint that within the body of that match arm, we can assume that
the subject is an instance of that class.

---------

Co-authored-by: Carl Meyer <carl@astral.sh>
Co-authored-by: Micha Reiser <micha@reiser.io>
2025-01-07 15:58:12 -05:00
..
2024-12-10 13:05:51 +00:00
2024-12-10 13:05:51 +00:00
2024-12-10 13:05:51 +00:00