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

8 lines
107 B
Kotlin
Vendored

// PROBLEM: none
// WITH_RUNTIME
fun test() {
(1 to 2).let<caret> { (i, j) -> foo() }
}
fun foo() = 0