package b class B: a.A() { fun f() { } } open class BB { fun f() { } }