Files
kotlin-fork/compiler/testData/codegen/script/destructuringDeclarationUnderscore.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

11 lines
239 B
Kotlin
Vendored

// IGNORE_BACKEND_K2: JVM_IR
val (_, b, _) = A()
class A {
operator fun component1(): Int = throw RuntimeException()
operator fun component2() = 2
operator fun component3(): Int = throw RuntimeException()
}
// expected: b: 2