Open KotlinIsland opened 1 month ago
from typing import * T = TypeVar("T") class A(Generic[T]): @classmethod def f(cls, t: T) -> None: print("hi") a = A.f(1) # Type of "f" is partially unknown # Type of "f" is "(t: Unknown) -> None" (reportUnknownMemberType)