open class A { private val i = 0 } class B : A() { fun bar() { i.toString() } }