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

8 lines
129 B
Kotlin
Vendored

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