ruff/crates/red_knot_python_semantic/resources/mdtest/subscript
TomerBin 34a5d7cb7f
[red-knot] Infer type of if-expression if test has statically known truthiness (#14048)
## Summary

Detecting statically known truthy or falsy test in if expressions
(ternary).

## Test Plan

new mdtest
2024-11-01 12:23:18 -07:00
..
bytes.md [red-knot] Slice expression types & subscript expressions with slices (#13917) 2024-10-29 10:17:31 +01:00
class.md [red-knot] Infer type of if-expression if test has statically known truthiness (#14048) 2024-11-01 12:23:18 -07:00
instance.md [red-knot] Format mdtest Python snippets more concisely (#13905) 2024-10-24 11:09:31 +00:00
lists.md [red-knot] have mdformat wrap mdtest files to 100 columns (#14020) 2024-10-31 21:00:51 +00:00
stepsize_zero.md [red-knot] have mdformat wrap mdtest files to 100 columns (#14020) 2024-10-31 21:00:51 +00:00
string.md [red-knot] Minor follow-up on slice expression inference (#13982) 2024-10-29 19:40:57 +00:00
tuple.md [red-knot] Slice expression types & subscript expressions with slices (#13917) 2024-10-29 10:17:31 +01:00