Files
kotlin-fork/compiler/testData/diagnostics/tests/script/resolveInitializerOfDestructuringDeclarationOnce.kts
T
Dmitrii Gridin 2f8026f335 [LL FIR] add missed diagnostic tests for scripts
^KT-62840
^KT-62841
^KT-62861
2023-10-24 19:32:54 +00:00

11 lines
253 B
Kotlin
Vendored

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