Files
kotlin-fork/idea/testData/intentions/destructuringInLambda/twoOfThree.kt.after
T
2017-04-05 14:45:48 +03:00

10 lines
209 B
Plaintext
Vendored

// WITH_RUNTIME
data class My(val first: String, val second: Int, val third: Boolean)
fun foo(list: List<My>) {
list.forEach { (_, second, third) ->
println(second)
println(third)
}
}