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

9 lines
137 B
Plaintext
Vendored

// "Surround with null check" "true"
operator fun Int.invoke() = this
fun foo(arg: Int?) {
if (arg != null) {
arg()
}
}