Delete crates/ty_python_semantic/resources/corpus/protocol_property_check.py

This commit is contained in:
Alex Waygood 2025-08-27 18:02:39 +01:00 committed by GitHub
parent 1bff6caba6
commit f855a0d30e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 20 deletions

View File

@ -1,20 +0,0 @@
from typing import Protocol
class Foo[T]: ...
class A(Protocol):
@property
def _(self: "A") -> Foo: ...
class B(Protocol):
@property
def b(self) -> Foo[A]: ...
class C(Undefined): ...
class D:
b: Foo[C]
class E[T: B](Protocol): ...
x: E[D]