Files
kotlin-fork/compiler/testData/diagnostics/tests/operatorsOverloading/until/customDisabled.kt
T

12 lines
381 B
Kotlin
Vendored

// !LANGUAGE: -RangeUntilOperator
class A {
<!UNSUPPORTED_FEATURE("The feature "range until operator" is only available since language version 1.8")!>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 only available since language version 1.8")!>..<<!>n) {
}
}