``` interface Base { fun print() } class Base...
# announcements
k
Copy code
interface Base {
    fun print()
}

class BaseImpl(val x: Int) : Base {
    override fun print() { print(x) }
}

class Derived(init: Derived.() -> Unit) : Base by b {
    lateinit var b: Base
    init {
        this.init()
    }
}