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

9 lines
179 B
Plaintext
Vendored

// WITH_RUNTIME
fun foo() {
val list = listOf(MyClass(1, 2, 3), MyClass(2, 3, 4))
list.forEach { (a, b) ->
}
}
data class MyClass(val a: Int, val b: Int, val c: Int)