Files
kotlin-fork/idea/testData/intentions/replaceSingleLineLetIntention/letWithMultipleMethodCall.kt
T
Mikhail Glukhikh a901de5112 KT-14084 related : replaceFirstReceiver now replaces ALL calls to safe calls if necessary
Fixes relevant "replace let" and "if to elvis" cases
2016-10-25 17:57:06 +03:00

9 lines
142 B
Kotlin
Vendored

// WITH_RUNTIME
// IS_APPLICABLE: true
fun foo() {
val foo: String? = null
foo?.let {
it.hashCode().hashCode()<caret>
}
}