FIR IDE: do not store psi inside HLQuickFix

Otherwise we can operate on invalidate psi

relates to ^KT-45199
This commit is contained in:
Ilya Kirillov
2021-03-01 15:20:53 +01:00
parent 2266cd4631
commit e2fc20e9a1
@@ -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 {