FIR IDE: Enable ReplaceInfixOrOperatorCallFix for

UNSAFE_IMPLICIT_INVOKE_CALL.
This commit is contained in:
Mark Punzalan
2021-05-24 22:13:42 +00:00
committed by teamcityserver
parent 6de1000818
commit ef923d4cfe
9 changed files with 30 additions and 18 deletions
@@ -0,0 +1,3 @@
// "Replace with safe (?.) call" "true"
fun foo(exec: (() -> Unit)?) = exec?.invoke() ?: <caret>
@@ -1,5 +1,3 @@
// "Replace with safe (?.) call" "true"
fun foo(exec: (() -> Unit)?) = exec<caret>()
/* IGNORE_FIR */
fun foo(exec: (() -> Unit)?) = exec<caret>()
@@ -1,5 +1,3 @@
// "Replace with safe (?.) call" "true"
fun foo(exec: (() -> Unit)?) = exec?.invoke()
/* IGNORE_FIR */
fun foo(exec: (() -> Unit)?) = exec?.invoke()