the getter is required by Persistable
# announcements
x
the getter is required by Persistable
k
And it doesn't recognize the val?
x
not as something that satisfies getId()
k
What do you expect a private val on an interface to you, they can't even have state.
x
I thought they could in kotlin?
in this case I was trying to hide _id
k
Interfaces can't have state in Kotlin either. They can have vals, but those are going to have to be overridden by implementors that then possibly have state.
x
so they can't be true traits... unfortunate. ah well solved it by doing it more like I would without traits