[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:
committed by
Space Team
parent
e49b28d639
commit
882dc18e0e
+6
@@ -24506,6 +24506,12 @@ public class FirJsCodegenBoxTestGenerated extends AbstractFirJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/anonymousObjectAndSpecificImplementationInDeserializedIr.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("commonFakeOverridePropertyRef.kt")
|
||||
public void testCommonFakeOverridePropertyRef() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/commonFakeOverridePropertyRef.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("covariantOverrideInActual.kt")
|
||||
public void testCovariantOverrideInActual() throws Exception {
|
||||
|
||||
Generated
+6
@@ -24506,6 +24506,12 @@ public class FirJsES6CodegenBoxTestGenerated extends AbstractFirJsES6CodegenBoxT
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/anonymousObjectAndSpecificImplementationInDeserializedIr.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("commonFakeOverridePropertyRef.kt")
|
||||
public void testCommonFakeOverridePropertyRef() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/commonFakeOverridePropertyRef.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("covariantOverrideInActual.kt")
|
||||
public void testCovariantOverrideInActual() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user