I’m trying to define a class hierarchy where the b...
# getting-started
l
I’m trying to define a class hierarchy where the base class has a vararg property. It doesn’t seem to allow me to have a sub class with a vararg param like:
Copy code
abstract class BaseClass(vararg val param: String) {}

class SubClass(vararg param : String) : BaseClass(param)