Files
kotlin-fork/compiler/testData/diagnostics/tests/declarationChecks/destructuringDeclarations/ForLoopMissingLoopParameter.fir.kt
T
Egor Kulikov 43fc4ccf40 [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>
2023-11-22 17:15:24 +00:00

15 lines
226 B
Kotlin
Vendored

fun useDeclaredVariables() {
<!ITERATOR_MISSING!>for ((a, b)<!SYNTAX!><!>) {
a
b
}<!>
}
fun checkersShouldRun() {
<!ITERATOR_MISSING!>for ((@A a, _)<!SYNTAX!><!>) {
}<!>
}
annotation class A