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

7 lines
112 B
Kotlin
Vendored

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