ruff/crates/ty_python_semantic/resources/mdtest/subscript
InSync 76ab3425d3
[ty] Integer indexing into bytes returns int (#18218)
## Summary

Resolves [#461](https://github.com/astral-sh/ty/issues/461).

ty was hardcoded to infer `BytesLiteral` types for integer indexing into
`BytesLiteral`. It will now infer `IntLiteral` types instead.

## Test Plan

Markdown tests.
2025-05-20 16:44:12 +02:00
..
bytes.md [ty] Integer indexing into bytes returns int (#18218) 2025-05-20 16:44:12 +02:00
class.md Update class literal display to use <class 'Foo'> style (#17889) 2025-05-06 20:11:25 -04:00
instance.md Rename Red Knot (#17820) 2025-05-03 19:49:15 +02:00
lists.md [ty] Understand classes that inherit from subscripted Protocol[] as generic (#17832) 2025-05-09 17:39:15 +01:00
stepsize_zero.md Rename Red Knot (#17820) 2025-05-03 19:49:15 +02:00
string.md Rename Red Knot (#17820) 2025-05-03 19:49:15 +02:00
tuple.md [ty] Understand homogeneous tuple annotations (#17998) 2025-05-12 22:02:25 -04:00