ruff
25023cc0 - [ty] Use declared variable types as bidirectional type context (#20796)

Commit
121 days ago
[ty] Use declared variable types as bidirectional type context (#20796) ## Summary Use the declared type of variables as type context for the RHS of assignment expressions, e.g., ```py x: list[int | str] x = [1] reveal_type(x) # revealed: list[int | str] ```
Author
Parents
Loading