[FIR] Don't update explicit delegated constructor calls of classes with @JvmRecord

^KT-54573 Fixed
This commit is contained in:
Dmitriy Novozhilov
2022-12-06 12:39:57 +02:00
committed by Space Team
parent 880b278c40
commit d898e256ca
9 changed files with 69 additions and 0 deletions
@@ -0,0 +1,10 @@
// TARGET_BACKEND: JVM_IR
// ISSUE: KT-54573
// WITH_STDLIB
@JvmRecord
data class A constructor(val x: Int, val s: String) {
constructor(s: String) : this(s.length, s)
}
fun box(): String = A("OK").s