12 lines
265 B
Kotlin
Vendored
12 lines
265 B
Kotlin
Vendored
// WITH_RUNTIME
|
|
// IS_APPLICABLE: false
|
|
// IS_APPLICABLE_2: false
|
|
import java.util.ArrayList
|
|
|
|
var globalCollection = ArrayList<Int>()
|
|
|
|
fun foo(list: List<Collection<Int>>) {
|
|
<caret>for (collection in list) {
|
|
globalCollection.add(collection.size)
|
|
}
|
|
} |