[FIR] Don't update explicit delegated constructor calls of classes with @JvmRecord
^KT-54573 Fixed
This commit is contained in:
committed by
Space Team
parent
880b278c40
commit
d898e256ca
@@ -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
|
||||
Reference in New Issue
Block a user