Youssef Shoaib [MOD]
03/17/2022, 5:19 PMgetValue
and setValue
methods? Is it to do with how regular local properties have a weird "backing field" and so supporting that can get muddy when it comes to cross-thread references and all? or is there another piece to the puzzle? And if that's the case, why not allow references to local delegated properties? After all, their mechanics are near-identical to normal delegated properties.udalov
ephemient
03/17/2022, 7:54 PMRef.ObjectRef<>
? there is some cost to this of course…Youssef Shoaib [MOD]
03/17/2022, 7:57 PM::localVariable
should have accessors similar to these lambdas:
KProperty(get = { localVariable }, set = { localVariable = it })