FIR IDE: Enable ReplaceInfixOrOperatorCallFix for
UNSAFE_IMPLICIT_INVOKE_CALL.
This commit is contained in:
committed by
teamcityserver
parent
6de1000818
commit
ef923d4cfe
@@ -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()
|
||||
Reference in New Issue
Block a user