Join Slack
Powered by
Why is referencing varargs in a function using the...
# announcements
n
nwh
10/22/2018, 7:31 PM
Why is referencing varargs in a function using the name forbidden? eg
Copy code
fun sample(vararg args: Any) {} sample(args=1, 2, 3) // errors
Is it a technical limitation or a design choice?
Open in Slack
Previous
Next