JVM IR: transform fake override properties in SAM adapters
Replace every property with its getter and setter. This is needed because later on, JVM backend assumes that all properties have been lowered (by JvmPropertiesLowering) to this state. #KT-64116 Fixed
This commit is contained in:
committed by
Space Team
parent
d5b59c48c2
commit
d08c9ba222
+6
@@ -35217,6 +35217,12 @@ public class FirJsCodegenBoxTestGenerated extends AbstractFirJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/sam/kt63564.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt64116.kt")
|
||||
public void testKt64116() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/sam/kt64116.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/box/sam/adapters")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
|
||||
Generated
+6
@@ -35217,6 +35217,12 @@ public class FirJsES6CodegenBoxTestGenerated extends AbstractFirJsES6CodegenBoxT
|
||||
runTest("compiler/testData/codegen/box/sam/kt63564.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt64116.kt")
|
||||
public void testKt64116() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/sam/kt64116.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/box/sam/adapters")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
|
||||
+6
@@ -34665,6 +34665,12 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/sam/kt63564.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt64116.kt")
|
||||
public void testKt64116() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/sam/kt64116.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/box/sam/adapters")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
|
||||
+6
@@ -34665,6 +34665,12 @@ public class IrJsES6CodegenBoxTestGenerated extends AbstractIrJsES6CodegenBoxTes
|
||||
runTest("compiler/testData/codegen/box/sam/kt63564.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt64116.kt")
|
||||
public void testKt64116() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/sam/kt64116.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/box/sam/adapters")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
|
||||
Reference in New Issue
Block a user