dbca310d8c
Currently only parameters of lambdas/function expressions and destructuring entries are allowed #KT-3824 In Progress #KT-2783 In Progress
15 lines
300 B
Kotlin
Vendored
15 lines
300 B
Kotlin
Vendored
fun useDeclaredVariables() {
|
|
for ((a, b)<!SYNTAX!><!>) {
|
|
<!UNUSED_EXPRESSION, DEBUG_INFO_ELEMENT_WITH_ERROR_TYPE!>a<!>
|
|
<!UNUSED_EXPRESSION, DEBUG_INFO_ELEMENT_WITH_ERROR_TYPE!>b<!>
|
|
}
|
|
}
|
|
|
|
fun checkersShouldRun() {
|
|
for ((@A a, _)<!SYNTAX!><!>) {
|
|
|
|
}
|
|
}
|
|
|
|
annotation class A
|