Given a class like so:
class Foo {
protected var myFoo: Boolean = true
private var myFoo2: Boolean = true
init {
val x = ::myFoo
val y = ::myFoo2
}
}
I’m wondering why the protected version is KProperty0
but the private version is KMutableProperty0
?