Files
kotlin-fork/idea/testData/intentions/branched/ifThenToElvis/replaceWithLet.kt.after
T

7 lines
107 B
Plaintext
Vendored

// WITH_RUNTIME
fun foo(s: String?) {
val x = s?.let { bar(it) } ?: 13
}
fun bar(s: String): Int = 42