// !LANGUAGE: -RangeUntilOperator class A { operator fun rangeUntil(other: A): Iterable = TODO() } fun main(n: A, f: A) { for (i in f..<n) { } }