FIR2IR: remove hacky & redundant resolve of delegating constructor calls
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
// IGNORE_BACKEND_FIR: JVM_IR
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_RUNTIME
|
||||
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
// IGNORE_BACKEND_FIR: JVM_IR
|
||||
// IGNORE_BACKEND: JS
|
||||
fun box(): String {
|
||||
val z = "K"
|
||||
|
||||
-1
@@ -1,4 +1,3 @@
|
||||
// IGNORE_BACKEND_FIR: JVM_IR
|
||||
open class A(val result: String) {
|
||||
constructor(x: Int, y: Int = 99) : this("$x$y")
|
||||
}
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
// IGNORE_BACKEND_FIR: JVM_IR
|
||||
open class A(val x: String, val z: String) {
|
||||
constructor(z: String) : this("O", z)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user