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
12 lines
225 B
Kotlin
Vendored
12 lines
225 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 x(action: (X) -> Unit) {}
|
|
|
|
fun main() {
|
|
x { (<expr>a</expr>, b) ->
|
|
|
|
}
|
|
} |