c963eadb44
We need to have a corresponding declaration in the FIR tree, so we can create a symbol for it ^KT-60904 fixed ^KT-60904 fixed
8 lines
192 B
Kotlin
Vendored
8 lines
192 B
Kotlin
Vendored
// LOOK_UP_FOR_ELEMENT_OF_TYPE: KtDestructuringDeclarationEntry
|
|
// DO_NOT_CHECK_NON_PSI_SYMBOL_RESTORE
|
|
|
|
data class X(val a: Int, val b: Int)
|
|
|
|
fun main(x: X) {
|
|
val (<expr>a</expr>, b) = x
|
|
} |