[RAW FIR] Use range as source of desugared loop-related statements

This commit is contained in:
Kirill Rakhman
2023-08-24 16:37:41 +02:00
committed by Space Team
parent 61259ef34b
commit 411210b520
8 changed files with 32 additions and 30 deletions
@@ -19,6 +19,6 @@ class Iter2 {
}
fun use() {
<!DEPRECATION!>for (x in Iter()) {}<!>
<!DEPRECATION, DEPRECATION!>for (x in Iter2()) {}<!>
for (x in <!DEPRECATION!>Iter<!>()) {}
for (x in <!DEPRECATION, DEPRECATION!>Iter2<!>()) {}
}