Files
kotlin-fork/idea/testData/quickfix/nullables/unsafeInfixCall/unsafePlus.kt
T
Mikhail Glukhikh c439a751ab KT-12628: new test for arg + something with nullable arg
(cherry picked from commit a7e4e2d)
2016-07-29 20:11:36 +03:00

5 lines
119 B
Kotlin
Vendored

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