Files
kotlin-fork/idea/testData/checker/regression/DestructuringDeclarationInLambda.kt
T

7 lines
193 B
Kotlin
Vendored

// FIR_COMPARISON
data class XY(val x: Int, val y: Int)
fun convert(xy: XY, f: (XY) -> Int) = f(xy)
fun foo() = <error>convert</error> { (<error>x</error><error><error>,</error> y)</error> }