interface X { infix fun compareTo(p: Int): Int } fun foo(x: X) { x compareTo 1 + 2 }