ross_a
10/02/2017, 9:00 AMsealed class Base {
interface Common {
val id: String
}
data class Child(private val common: Common, val other: String) : Base(), Common by common
data class OtherChild(private val common: Common, val another: Int) : Base(), Common by common
}