fun foo(vararg xFooBars: String){} fun g(a: String, bar: String, fooBar: String, xFooBars: Array) { foo() } // ORDER: xFooBars, fooBar, bar, a