Files
Anna Kozlova 9ca963f886 [kotlin] kmp find usages: implicit component usages
KtDestructuringDeclarationReference has component as second target, thus we need to check all of them

^KTIJ-29947 fixed

GitOrigin-RevId: a743a6453bc55f2051ebbfdc4a67e7c00202f91f
2024-05-15 21:31:00 +00:00

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()
}