mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-14 18:05:27 +07:00
PyDecoratorImpl.toString() doesn't cause unstubbing
GitOrigin-RevId: a87b3874af518dcaf81384b25b85b76f618bdd1d
This commit is contained in:
committed by
intellij-monorepo-bot
parent
44e22f679c
commit
132461b7de
@@ -111,7 +111,7 @@ public class PyDecoratorImpl extends PyBaseElementImpl<PyDecoratorStub> implemen
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "PyDecorator: @" + PyUtil.getReadableRepr(getCallee(), true); //getCalledFunctionReference().getReferencedName();
|
||||
return "PyDecorator: @" + getQualifiedName();
|
||||
}
|
||||
|
||||
public PsiElement setName(@NonNls @NotNull String name) throws IncorrectOperationException {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
PyFile:ExpressionsInDecorators.py
|
||||
PyFunction('say_whee')
|
||||
PyDecoratorList
|
||||
PyDecorator: @x[0]
|
||||
PyDecorator: @null
|
||||
PsiElement(Py:AT)('@')
|
||||
PySubscriptionExpression
|
||||
PyReferenceExpression: x
|
||||
@@ -11,7 +11,7 @@ PyFile:ExpressionsInDecorators.py
|
||||
PsiElement(Py:INTEGER_LITERAL)('0')
|
||||
PsiElement(Py:RBRACKET)(']')
|
||||
PsiWhiteSpace('\n')
|
||||
PyDecorator: @y:=x[0]
|
||||
PyDecorator: @null
|
||||
PsiElement(Py:AT)('@')
|
||||
PyAssignmentExpression
|
||||
PyTargetExpression: y
|
||||
|
||||
Reference in New Issue
Block a user