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

8 lines
200 B
Plaintext
Vendored

// "Wrap with '?.let { ... }' call" "true"
// WITH_RUNTIME
fun foo(x: String?, y: String) {
y.let { x?.let { it1 -> bar(it1, it) } }
}
fun bar(s: String, t: String) = s.hashCode() + t.hashCode()