Files
kotlin-fork/idea/testData/quickfix/surroundWithNullCheck/infixUnsafeCall.kt
T
2016-06-13 15:33:36 +03:00

7 lines
116 B
Kotlin
Vendored

// "Surround with null check" "true"
infix fun Int.op(arg: Int) = this
fun foo(arg: Int?) {
arg <caret>op 42
}