Consider the code below:
private def test(some:String*){ } private def call () { val some = Array(\"asd\", \"zxc\") test(some) }
It p
It is simple:
def test(some:String*){} def call () { val some = Array("asd", "zxc") test(some: _*) }