[red-knot] Narrowing on s == "foo"
where s
is of type LiteralString
#14648
Labels
red-knot
Multi-file analysis & type inference
For any symbol
s
of typeLiteralString
, it should be safe to narrow it according to comparisons of the patterns == "..."
.This issue is part of #13694.
The text was updated successfully, but these errors were encountered: