mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-06 03:21:12 +07:00
PY-63371 PY-63372 PY-63373 Recognize type alias names in their definitions as targets for actions
In particular, for Rename and Go to Declaration or Usages. GitOrigin-RevId: 760a28b3a2a2b22022e938d7b4b96729cd7f7dc2
This commit is contained in:
committed by
intellij-monorepo-bot
parent
8a5536359d
commit
2e8e817447
@@ -0,0 +1,5 @@
|
||||
type Al<caret>ias[T] = dict[str, T]
|
||||
|
||||
|
||||
def f[T](x: Alias[T]) -> T:
|
||||
...
|
||||
@@ -0,0 +1,5 @@
|
||||
type Renamed[T] = dict[str, T]
|
||||
|
||||
|
||||
def f[T](x: Renamed[T]) -> T:
|
||||
...
|
||||
@@ -0,0 +1,5 @@
|
||||
type Alias[T] = dict[str, T]
|
||||
|
||||
|
||||
def f[T](x: Al<caret>ias[T]) -> T:
|
||||
...
|
||||
@@ -0,0 +1,5 @@
|
||||
type Renamed[T] = dict[str, T]
|
||||
|
||||
|
||||
def f[T](x: Renamed[T]) -> T:
|
||||
...
|
||||
Reference in New Issue
Block a user