Files
kotlin-fork/idea/testData/quickfix/wrapWithSafeLetCall/objectQualifier.kt.after
T
2016-08-01 12:24:38 +03:00

8 lines
157 B
Plaintext
Vendored

// "Wrap with '?.let { ... }' call" "true"
// WITH_RUNTIME
object Obj {
fun foo(x: Int) = x
}
val arg: Int? = null
val argFoo = arg?.let { Obj.foo(it) }