Is there anyway to have multiple interfaces delega...
# announcements
t
Is there anyway to have multiple interfaces delegate to a single instance without creating an intermediate interface?
Copy code
interface Foo {
    fun foo()
}

interface Bar {
    fun bar()
}

class FooBar: Foo, Bar {
    override fun foo() {}
    override fun bar() {}
}

class Thing: Foo, Bar by FooBar()