Files
kotlin-fork/idea/testData/inspectionsLocal/complexRedundantLet/letUseParameter.kt
T
2019-06-25 14:37:04 +07:00

10 lines
141 B
Kotlin
Vendored

// WITH_RUNTIME
// PROBLEM: none
fun foo() {
val foo: String? = null
foo?.let {
text ->
text.to(text)<caret>
}
}