PY-83700 Support implicit type aliases at class level

GitOrigin-RevId: efaf7fb9ae413370f18429859c05f114e6cf4677
This commit is contained in:
Mikhail Golubev
2025-09-16 11:17:44 +00:00
committed by intellij-monorepo-bot
parent 39a5fc5668
commit 60cafd2f61
4 changed files with 21 additions and 1 deletions
@@ -0,0 +1,4 @@
from lib import Baz
def bar(baz: Baz.SOME_TYPE) -> None: ...
@@ -0,0 +1,10 @@
from typing import Generic, TypeVar
T1 = TypeVar("T1")
class Foo(Generic[T1]): ...
class Baz:
SOME_TYPE = Foo[int]