Files
kotlin-fork/idea/testData/quickfix/wrapWithSafeLetCall/invokeUnsafe.kt.after
T

8 lines
138 B
Plaintext
Vendored

// "Wrap with '?.let { ... }' call" "true"
// WITH_RUNTIME
operator fun Int.invoke() = this
fun foo(arg: Int?) {
arg?.let { it() }
}