I try to call parent's second constructor like this
abstract class A(val i: Int) {
constructor(c: C) : this(c.i)
}
class B() : A(0) {
constructor(c: C) : super(c) // error is here
}
class C(val i: Int)
but it generates Primary constructor call expected error. How can the child class call the parent's secondary constructor?