Fix "must not be null" in KotlinInlineFunctionDialog #KT-17233 Fixed

This commit is contained in:
Mikhail Glukhikh
2017-04-04 13:41:24 +03:00
parent 8fb818fc74
commit 318314f1a4
@@ -65,7 +65,7 @@ class KotlinInlineFunctionDialog(
if (function.isWritable) "Inline all and remove the function"
else "All invocations in project"
override fun getKeepTheDeclarationText(): String =
override fun getKeepTheDeclarationText(): String? =
if (function.isWritable) "Inline all and keep the function"
else super.getKeepTheDeclarationText()