[FIR] Source for implicit iterator calls in for should not be null

^KT-62111 fixed


Merge-request: KT-MR-13029
Merged-by: Egor Kulikov <Egor.Kulikov@jetbrains.com>
This commit is contained in:
Egor Kulikov
2023-11-22 17:15:24 +00:00
committed by Space Team
parent 6a90926e2e
commit 43fc4ccf40
11 changed files with 43 additions and 17 deletions
@@ -1,14 +1,14 @@
fun useDeclaredVariables() {
for ((a, b)<!SYNTAX!><!>) {
<!ITERATOR_MISSING!>for ((a, b)<!SYNTAX!><!>) {
a
b
}
}<!>
}
fun checkersShouldRun() {
for ((@A a, _)<!SYNTAX!><!>) {
<!ITERATOR_MISSING!>for ((@A a, _)<!SYNTAX!><!>) {
}
}<!>
}
annotation class A