8ad5a48b98
Mainly needed to avoid "Cannot build symbol for KtDestructuringDeclaration" from `KtSymbolProvider.getSymbol` on `KtDestructuringDeclaration`.
12 lines
220 B
Kotlin
Vendored
12 lines
220 B
Kotlin
Vendored
// LOOK_UP_FOR_ELEMENT_OF_TYPE: KtDestructuringDeclaration
|
|
// 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, b)</expr> ->
|
|
|
|
}
|
|
} |