Is it possible to do something like:
abstract class A interface B class C(val a: A) : B class D : A, B by C(this)
Or something similar? If the design is bad, that’s a whole other thing, but I feel like this should make sense. Is there a better way to do this kind of thing?