bb996c1b27
with appropriate fixes in testdata, tests and other places.
12 lines
315 B
Kotlin
Vendored
12 lines
315 B
Kotlin
Vendored
// !LANGUAGE: -RangeUntilOperator
|
|
|
|
class A {
|
|
<!UNSUPPORTED_FEATURE("The feature "range until operator" is disabled")!>operator<!> fun rangeUntil(other: A): Iterable<A> = TODO()
|
|
}
|
|
|
|
fun main(n: A, f: A) {
|
|
for (i in f<!UNSUPPORTED_FEATURE("The feature "range until operator" is disabled")!>..<<!>n) {
|
|
|
|
}
|
|
}
|