[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,5 @@
// !LANGUAGE: +RangeUntilOperator
fun main(n: Int) {
for (i in <!ITERATOR_MISSING!>0<!UNRESOLVED_REFERENCE!>..<<!>n<!>) {