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

7 lines
90 B
Kotlin
Vendored

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