Files
kotlin-fork/compiler/testData/diagnostics/tests/declarationChecks/destructuringDeclarations/ForLoopMissingLoopParameter.fir.kt
T
2021-04-19 15:10:58 +03:00

16 lines
203 B
Kotlin
Vendored

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