Files
kotlin-fork/idea/testData/quickfix/replaceInfixOrOperatorCall/assignmentBinaryOperator.kt.after
T
Mark Punzalan ca7649edbb FIR IDE: Enable ReplaceInfixOrOperatorCallFix for UNSAFE_CALL,
UNSAFE_INFIX_CALL, UNSAFE_OPERATOR_CALL.
2021-06-03 20:17:59 +03:00

7 lines
130 B
Plaintext
Vendored

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