Files
kotlin-fork/idea/testData/quickfix/smartCastImpossibleInIfThen/ifThen3.kt.after
T

11 lines
197 B
Plaintext
Vendored

// "Replace 'if' expression with safe access expression" "true"
// WITH_RUNTIME
class Test {
var x: String? = ""
fun test() {
x?.let { foo(it) }
}
fun foo(s: String) = 1
}