fun box() { fun local():Int { } } trait X { fun f(): Boolean } val m = object : X { override fun f(): Boolean { } }