```class Derived private constructor(val b: Base, ...
# announcements
k
Copy code
class Derived private constructor(val b: Base, init: Derived.() -> Unit) : Base by b {
    
    constructor(init: Derived.() -> Unit): this(BaseImpl(2), init)

    init {
        init()
    }
}
👍 1