poohbar
08/10/2018, 1:40 PMdata class Account(a: Int, b: Int)
data class Person(name:String, account:Account)
is there a way to expose account's properties on person?
anything better than:
val a get() = account.a
?Andreas Sinz
08/11/2018, 9:00 AMval a = account.a
? I'm not sure what delegation gives you any advantage