Okay. Thanks. Is there a way to get around this? I...
# announcements
o
Okay. Thanks. Is there a way to get around this? I don't want to expose my field to Java code. I thought this was a bug.
i
okkero: The backing field of a lateinit property gets the visibility of the property setter.
o
Why was this decision made?
i
To satisfy both requirements: - expose the field of lateinit for DI frameworks by default, - still provide the way not to expose it if not required
o
So there is no way to expose the setter of a lateinit property without exposing the backing field?