K2: implement FirForLoopStatementAssignmentChecker

#KT-60006 Fixed
This commit is contained in:
Tomas Husak
2024-02-20 17:34:49 +00:00
committed by Space Team
parent 9eb6646576
commit ec167d4d42
6 changed files with 57 additions and 20 deletions
@@ -1,3 +1,4 @@
// FIR_IDENTICAL
fun foo1() = <!EXPRESSION_EXPECTED!>while (b()) {}<!>
fun foo2() = <!EXPRESSION_EXPECTED!>for (i in <!ITERATOR_MISSING!>10<!>) {}<!>