Files
ruff/crates/ty_python_semantic/resources/mdtest
Alex Waygood af886b06c9 [ty] Allow if type(x) is Y narrowing for types other than class-literal types (#22729)
## Summary

Fixes https://github.com/astral-sh/ty/issues/2565.

This PR adds support for `if type(x) is Y` narrowing where `Y` is a
subclass-of type, type-alias type, or typevar type.

## Test Plan

mdtests
2026-01-20 08:23:00 +00:00
..
2025-05-03 19:49:15 +02:00
2025-05-03 19:49:15 +02:00
2025-05-03 19:49:15 +02:00
2025-05-03 19:49:15 +02:00