Files
kotlin-fork/idea/testData/quickfix/nullables/unsafeInfixCall/unsafePlus.kt
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

4 lines
118 B
Kotlin
Vendored

// "Replace with safe (?.) call" "true"
operator fun Int.plus(index: Int) = this
fun fox(arg: Int?) = arg <caret>+ 42