def main(args: Array[String]) {
foo("hello")
}
def foo(args:Any*){
bar(args)
}
def bar(args:Any *){
println(args)
}
Look the code above, the output is WrappedArray(WrappedArray(hello))
The String 'hello' is wrapped twice, how to avoid this