mirror of
https://github.com/astral-sh/ruff.git
synced 2025-10-02 14:52:01 +00:00
![]() ## Summary There was some narrowing constraints not covered from the previous PR ```py def _(x: object): if (type(y := x)) is bool: reveal_type(y) # revealed: bool ``` Also, refactored a bit ## Test Plan Update type_api.md |
||
---|---|---|
.. | ||
resources | ||
src | ||
tests | ||
build.rs | ||
Cargo.toml | ||
mdtest.py | ||
mdtest.py.lock |