Files
kotlin-fork/idea/testData/quickfix/replaceInfixOrOperatorCall/assignmentCallExpression.kt
T
Mark Punzalan ef923d4cfe FIR IDE: Enable ReplaceInfixOrOperatorCallFix for
UNSAFE_IMPLICIT_INVOKE_CALL.
2021-06-03 20:18:02 +03:00

8 lines
144 B
Kotlin
Vendored

// "Replace with safe (?.) call" "true"
// WITH_RUNTIME
fun bar() {
val fff: (() -> Int)? = { 1 }
var i: Int = 1
i = fff<caret>()
}