mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Enable change signature refactoring for annotated functions (PY-42285)
GitOrigin-RevId: e7d95d251d59d11cb8c9d0b7f20c053ece8dceff
This commit is contained in:
committed by
intellij-monorepo-bot
parent
15b09ff212
commit
8d5ab620b2
@@ -22,8 +22,6 @@ class PySuggestedRefactoringSupport : SuggestedRefactoringSupport {
|
||||
return element is PyFunction &&
|
||||
element.name.let { it != null && PyNames.isIdentifier(it) } &&
|
||||
element.property == null &&
|
||||
element.annotation == null &&
|
||||
element.parameterList.parameters.none { it.asNamed?.annotation != null } &&
|
||||
!PyiUtil.isOverload(element, TypeEvalContext.codeAnalysis(element.project, element.containingFile))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user