mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Fixed searching for PyAnnotation stub if PyFunction is a stub
This commit is contained in:
@@ -571,7 +571,7 @@ public class PyFunctionImpl extends PyPresentableElementImpl<PyFunctionStub> imp
|
||||
|
||||
@Override
|
||||
public PyAnnotation getAnnotation() {
|
||||
return findChildByClass(PyAnnotation.class);
|
||||
return getStubOrPsiChild(PyElementTypes.ANNOTATION);
|
||||
}
|
||||
|
||||
@NotNull
|
||||
|
||||
Reference in New Issue
Block a user