Kotlin sublass constructors do not inherit default parameter values
I’ve come across what appears to be a short-coming of the Kotlin language where it concerns default parameters in constructors. Perhaps there’s something in the documentation that I missed? It appears that default parameters for constructors are not inherited, which is strange, because default parameters for other functions are inherited.
open class ClassA {
constructor(
id: String,
name: String = "",
)
}
class ClassB : ClassA {
constructor(
id: String,...