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

10 lines
206 B
Kotlin
Vendored

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