Files
kotlin-fork/idea/testData/intentions/destructuringInLambda/list.kt
T

5 lines
125 B
Kotlin
Vendored

// WITH_RUNTIME
data class XY(val x: String, val y: String)
fun foo(list: List<XY>) = list.map { <caret>it -> it.x + it.y }