PyDecoratorImpl.toString() doesn't cause unstubbing

GitOrigin-RevId: a87b3874af518dcaf81384b25b85b76f618bdd1d
This commit is contained in:
Mikhail Golubev
2024-09-04 15:14:33 +03:00
committed by intellij-monorepo-bot
parent 44e22f679c
commit 132461b7de
2 changed files with 3 additions and 3 deletions

View File

@@ -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 {

View File

@@ -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