mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Minor: Fix compilation
(cherry picked from commit 5397e11) GitOrigin-RevId: 8495c78914039366a3c85363b3ebc046a6f01851
This commit is contained in:
committed by
intellij-monorepo-bot
parent
07f2eba337
commit
5ffb4a6925
+1
-1
@@ -181,7 +181,7 @@ class KotlinInlineValHandler : InlineActionHandler() {
|
||||
project.executeWriteCommand(RefactoringBundle.message("inline.command", name)) {
|
||||
val inlinedExpressions = chosenExpressions
|
||||
.flatMap { referenceExpression ->
|
||||
if (assignments.contains(referenceExpression.parent)) return@flatMap emptyList<KtExpression>()
|
||||
if (assignments.contains(referenceExpression!!.parent)) return@flatMap emptyList<KtExpression>()
|
||||
|
||||
val importDirective = referenceExpression.getStrictParentOfType<KtImportDirective>()
|
||||
if (importDirective != null) {
|
||||
|
||||
Reference in New Issue
Block a user