mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-17 15:54:03 +00:00
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
|