open class A { private open fun foo(t: T) {} } class B : A() { }