// WITH_RUNTIME import java.util.ArrayList fun foo(list: List): List { val target = list.flatMapTo(ArrayList(100)) { it.lines() } return target }