interface X { infix fun times(p: Int): Int } fun foo(x: X) { (x times 1).div(2) }