[FE 1.0] Introduce "range until operator" language feature, and report errors on its usages till 1.8

This commit is contained in:
Victor Petukhov
2022-05-24 11:45:04 +02:00
committed by teamcity
parent de9d1dc536
commit c266303197
16 changed files with 136 additions and 2 deletions
@@ -1,3 +1,6 @@
// FIR_IDENTICAL
// !LANGUAGE: +RangeUntilOperator
class A {
operator fun rangeUntil(other: A): Iterable<A> = TODO()
}