Files
kotlin-fork/compiler/testData/codegen/script/destructuringDeclaration.kts
T
Ilya Chernikov 5824b9c59c K2 Scripting: add Fir script codegen tests
27 failing tests are muted
2023-07-05 19:46:03 +00:00

12 lines
175 B
Kotlin
Vendored

// IGNORE_BACKEND_K2: JVM_IR
val (abc, def) = A()
val rv = abc + def
class A {
operator fun component1() = 123
operator fun component2() = 2
}
// expected: rv: 125