open class B { open fun foo(){} } class A : B() { override fun foo(p: String) { super.foo("") } }