ruff
b94d6cf5 - [red-knot] Fix panic related to f-strings in annotations (#14613)

Commit
1 year ago
[red-knot] Fix panic related to f-strings in annotations (#14613) ## 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.
Author
Parents
Loading