Files
kotlin-fork/idea/testData/inspectionsLocal/complexRedundantLet/destructuringDeclaration3.kt
T

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