mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-28 12:55:05 +00:00
![]() ## Summary Fix panics related to expressions without inferred types in invalid syntax examples like: ```py x: f"Literal[{1 + 2}]" = 3 ``` where the `1 + 2` expression (and its sub-expressions) inside the annotation did not have an inferred type. ## Test Plan Added new corpus test. |
||
---|---|---|
.. | ||
resources | ||
src | ||
tests | ||
build.rs | ||
Cargo.toml |