fun Number.convert(): R = TODO() fun foo(arg: Number) { } fun main(args: Array) { val x: Int = 0 foo(x.convert()) }