Files
ruff/crates
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-17 15:50:33 +00:00
2024-12-17 15:50:33 +00:00
2025-01-04 13:09:26 +01:00