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

11 lines
140 B
Kotlin
Vendored

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