[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
@@ -10,6 +10,6 @@ fun test(nothing: Nothing?) {
}
fun sum(a : IntArray) : Int {
for (n
<!SYNTAX!>return<!><!SYNTAX!><!> "?"
<!ITERATOR_MISSING!>for (n
<!SYNTAX!>return<!><!SYNTAX!><!> "?"<!>
<!NO_RETURN_IN_FUNCTION_WITH_BLOCK_BODY!>}<!>