fun test(list: List) { foo(list.toTypedArray().spread) } fun foo(vararg args: String) {}