fred.deschenes
05/02/2018, 7:43 PMthis::
, so the compiler knows it has access to the backing field. This :
val foo = Foo()
if (foo::bar.isInitialized) {
}
gives me this error : Backing field of 'lateinit var bar: String' is not accessible at this point