https://kotlinlang.org logo
c

CamilleBC

11/08/2018, 10:00 AM
Answering my own question: vararg cast automatically to a read-only array. I should either copy it to regular array, or change the function to take a read-only array as parameter (which I did).