Files
kotlin-fork/idea/testData/intentions/replaceSingleLineLetIntention/destructuringDeclaration3.kt
T
2018-08-14 15:32:10 +03:00

8 lines
136 B
Kotlin
Vendored

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