open class Super { open fun f(a: Int) { } } class F: Super() { override fun f(a: Int) { if (a > 0) { super.f(a - 1) } } }