Files
kotlin-fork/compiler/testData/diagnostics/tests/script/resolveInitializerOfDestructuringDeclarationOnce.kts
T
2024-02-14 16:16:01 +00:00

8 lines
189 B
Kotlin
Vendored

// FIR_IDENTICAL
val (a, b, c) = A<!NO_VALUE_FOR_PARAMETER!>()<!>
class A(val a: Int) {
operator fun component1() {}
operator fun component2() {}
operator fun component3() {}
}