Files
kotlin-fork/idea/testData/checker/regression/DestructuringDeclarationInLambda.kt
T
Ilya Kirillov 861c9b8e45 FIR IDE: unmute passing tests
fix unmute passing
2021-01-15 17:23:04 +01:00

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