FIR IDE: do not store psi inside HLQuickFix
Otherwise we can operate on invalidate psi relates to ^KT-45199
This commit is contained in:
@@ -26,7 +26,7 @@ internal class HLQuickFix<PSI : PsiElement, in INPUT : HLApplicatorInput>(
|
||||
}
|
||||
|
||||
override fun getText(): String {
|
||||
val element = element ?: return applicator.getFamilyName()
|
||||
val element = element ?: return familyName
|
||||
return if (input.isValidFor(element)) {
|
||||
applicator.getActionName(element, input)
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user