Fix compilation of HLRedundantVisibilityModifierInspection

This commit is contained in:
Ilya Kirillov
2021-02-16 15:47:08 +01:00
parent e8f3ebdd19
commit 3e22011626
@@ -7,7 +7,6 @@ package org.jetbrains.kotlin.idea.fir.inspections.diagnosticBased
import com.intellij.codeInspection.ProblemHighlightType
import org.jetbrains.kotlin.idea.KotlinBundle
import org.jetbrains.kotlin.idea.KotlinBundleIndependent
import org.jetbrains.kotlin.idea.fir.api.AbstractHLDiagnosticBasedInspection
import org.jetbrains.kotlin.idea.fir.api.applicator.*
import org.jetbrains.kotlin.idea.fir.api.inputByDiagnosticProvider
@@ -41,6 +40,6 @@ class HLRedundantVisibilityModifierInspection :
KtTokens.VISIBILITY_MODIFIERS,
KotlinBundle.lazyMessage("redundant.visibility.modifier")
).with {
actionName { _, (modifier) -> KotlinBundleIndependent.message("remove.redundant.0.modifier", modifier.value) }
actionName { _, (modifier) -> KotlinBundle.message("remove.redundant.0.modifier", modifier.value) }
}
}