Files
kotlin-fork/idea/testData/quickfix/nullables/unsafeInfixCall/unsafeGet.kt
T
Mikhail Glukhikh 47493c1a65 KT-12628: replace infix call supports now array accesses too
(cherry picked from commit 3d67f84)
2016-07-29 20:11:45 +03:00

4 lines
131 B
Kotlin
Vendored

// "Replace with safe (?.) call" "true"
operator fun Int.get(row: Int, column: Int) = this
fun foo(arg: Int?) = arg<caret>[42, 13]