// WITH_RUNTIME // IS_APPLICABLE: false import java.util.ArrayList var globalCollection = ArrayList() fun foo(list: List>) { for (collection in list) { globalCollection.add(collection.size) } }