Ruckus
06/14/2021, 4:59 PMinterface A {
val prop1: ...
val prop2: ...
...
companion object : A {
...
}
}
interface B : A {
val prop3: ...
...
companion object : B, A by A {
...
}
}
Is there a way to do this without the weird interface / companion construct?hho
06/14/2021, 5:04 PMclass?edrd
06/14/2021, 5:07 PMhho
06/14/2021, 5:14 PMA and only your "last hierarchy level" needs to be an object. That way, you can inherit how deep you want (Example). But I'm probably not fully understanding what you're after…Sourabh Rawat
06/14/2021, 9:52 PMedrd
06/16/2021, 2:12 PMhho
06/16/2021, 3:14 PMedrd
06/17/2021, 3:21 PM