ruff/crates/ty_python_semantic/resources/mdtest/generics/legacy
David Peter 130a794c2b
[ty] Add tests for nested generic functions (#20631)
## Summary

Add two simple tests that we recently discussed with @dcreager. They
demonstrate that the `TypeMapping::MarkTypeVarsInferable` operation
really does need to keep track of the binding context.

## Test Plan

Made sure that those tests fail if we create
`TypeMapping::MarkTypeVarsInferable(None)`s everywhere.
2025-09-30 08:44:18 +02:00
..
classes.md [ty] Use typing.Self for the first parameter of instance methods (#20517) 2025-09-29 21:08:08 +02:00
functions.md [ty] Add tests for nested generic functions (#20631) 2025-09-30 08:44:18 +02:00
variables.md [ty] fix deferred name loading in PEP695 generic classes/functions (#19888) 2025-08-13 15:51:59 -07:00
variance.md [ty] eliminate is_fully_static (#18799) 2025-06-24 18:02:05 -07:00