11 lines
197 B
Plaintext
Vendored
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
|
|
} |