0b647ac358
Split testData into 'classes' and 'expressions'.
18 lines
266 B
Kotlin
Vendored
18 lines
266 B
Kotlin
Vendored
fun testEmpty(ss: List<String>) {
|
|
for (s in ss);
|
|
}
|
|
|
|
fun testIterable(ss: List<String>) {
|
|
for (s in ss) {
|
|
println(s)
|
|
}
|
|
}
|
|
|
|
fun testDestructuring(pp: List<Pair<Int, String>>) {
|
|
for ((i, s) in pp) {
|
|
println(i)
|
|
println(s)
|
|
}
|
|
}
|
|
|