mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
KtDestructuringDeclarationReference has component as second target, thus we need to check all of them ^KTIJ-29947 fixed GitOrigin-RevId: a743a6453bc55f2051ebbfdc4a67e7c00202f91f
9 lines
295 B
Kotlin
9 lines
295 B
Kotlin
// PSI_ELEMENT: org.jetbrains.kotlin.psi.KtFunction
|
|
// OPTIONS: usages, expected
|
|
class DummyClass001
|
|
expect operator fun DummyClass001.comp<caret>onent1()
|
|
expect operator fun DummyClass001.component2()
|
|
fun testDummyClass001() {
|
|
val (a, b) = DummyClass001()
|
|
DummyClass001().component1()
|
|
} |