ruff
d55edb3d - [ty] Support "legacy" `typing.Self` in combination with PEP 695 generic contexts (#20304)

Commit
11 days ago
[ty] Support "legacy" `typing.Self` in combination with PEP 695 generic contexts (#20304) ## Summary Support cases like the following, where we need the generic context to include both `Self` and `T` (not just `T`): ```py from typing import Self class C: def method[T](self: Self, arg: T): ... C().method(1) ``` closes https://github.com/astral-sh/ty/issues/1131 ## Test Plan Added regression test
Author
Parents
Loading