Fix "must not be null" in KotlinInlineFunctionDialog #KT-17233 Fixed
This commit is contained in:
@@ -65,7 +65,7 @@ class KotlinInlineFunctionDialog(
|
|||||||
if (function.isWritable) "Inline all and remove the function"
|
if (function.isWritable) "Inline all and remove the function"
|
||||||
else "All invocations in project"
|
else "All invocations in project"
|
||||||
|
|
||||||
override fun getKeepTheDeclarationText(): String =
|
override fun getKeepTheDeclarationText(): String? =
|
||||||
if (function.isWritable) "Inline all and keep the function"
|
if (function.isWritable) "Inline all and keep the function"
|
||||||
else super.getKeepTheDeclarationText()
|
else super.getKeepTheDeclarationText()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user