[FIR] KT-58284: Prevent missing diagnostics on for loops

^KT-58284 Fixed
This commit is contained in:
Nikolay Lunyak
2023-05-12 15:06:58 +03:00
committed by Space Team
parent 606ffa7273
commit 834ba397ad
7 changed files with 49 additions and 5 deletions
@@ -0,0 +1,8 @@
// FIR_IDENTICAL
// ISSUE: KT-58284
fun foo() {
for (i in <!ITERATOR_MISSING!>0<!>) {}
}
fun String.iterator(): Iterator<Int> = TODO()