Files
kotlin-fork/idea/testData/quickfix/expressions/unsafeCall4.kt.after
T
Mikhail Glukhikh a9c30e878b KT-12628: !! is now correctly added to array expressions
(cherry picked from commit 56c9d7e)
2016-07-29 20:12:02 +03:00

4 lines
130 B
Plaintext
Vendored

// "Add non-null asserted (!!) call" "true"
operator fun Int.get(row: Int, column: Int) = this
fun foo(arg: Int?) = arg!![42, 13]