[red knot] Fix narrowing for '… is not …' type guards, add '… is …' type guards #13758
[red knot] Fix narrowing for 'is not' conditionals
09eeee99
Move Type::Todo to the false-branch
e241c422
The empty tuple type is a singleton type
749f176a
Fix behavior for tuple types
e069381a
Use custom type instead of LiteralInt
a95b4d57
Add explanation to 'is not' test
b425e6a3
Add TODO comment
da842bbc
Shorten comment regarding union types
edfaf896
Add TODO comment
b219c6fc
Handle non-singleton 'is not' case
79f809cd
Modules are singleton types as well
9169e351
sharkdp
merged
74bf4b06
into main 1 year ago
sharkdp
deleted the david/type-narrowing-updates branch 1 year ago
carljm
commented
on 2024-10-15
carljm
commented
on 2024-10-15
carljm
commented
on 2024-10-15
carljm
commented
on 2024-10-15
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub