mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-06 08:00:18 +07:00
Similar to PyRedeclarationInspection but specifically for type aliases. The difference is that for type aliases, we should report them as redelclarations even if they were used before GitOrigin-RevId: 735c7be53bf7625cf0dccb83d8a3157665f65a96
11 lines
332 B
Python
11 lines
332 B
Python
def TopLevelBoo():
|
|
pass
|
|
|
|
|
|
<warning descr="Redeclared 'TopLevelBoo' defined above without usage">TopLevelBoo</warning> = 1
|
|
<warning descr="Redeclared 'TopLevelBoo' defined above without usage">TopLevelBoo</warning> = 2
|
|
|
|
|
|
class <warning descr="Redeclared 'TopLevelBoo' defined above without usage">TopLevelBoo</warning>:
|
|
pass
|