[IrActualizer] Don't copy attributeOwnerId in actualizer

In before, actualizer was copying attributeOwnerId to new
nodes. This leads to attributeOwnerId linked to non-actualized
node. It's unclear what it leads to, so we just stop doing that.

In particular, if attributeOwnerId references another node,
this information would be lost.

^KT-64895
This commit is contained in:
Pavel Kunyavskiy
2024-01-11 16:35:21 +01:00
committed by Space Team
parent e49b28d639
commit 882dc18e0e
13 changed files with 131 additions and 44 deletions
@@ -0,0 +1,19 @@
// LANGUAGE: +MultiPlatformProjects
// MODULE: lib-common
// FILE: common.kt
open class Base {
open val x = "OK"
}
class Child : Base() {
fun xGetter() : () -> String = this::x
}
// MODULE: lib()()(lib-common)
// FILE: platform.kt
fun box(): String {
return Child().xGetter()()
}