[FIR2IR] Fix handling private setters in anonymous classes

^KT-65290 Fixed
This commit is contained in:
Pavel Kunyavskiy
2024-02-01 12:51:30 +01:00
committed by Space Team
parent 66d8f471d9
commit caa6918031
23 changed files with 140 additions and 1 deletions
@@ -14451,6 +14451,12 @@ public class FirJsCodegenBoxTestGenerated extends AbstractFirJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/fakeOverride/diamondFunction.kt");
}
@Test
@TestMetadata("fakeOverrideOfPrivateSetter.kt")
public void testFakeOverrideOfPrivateSetter() throws Exception {
runTest("compiler/testData/codegen/box/fakeOverride/fakeOverrideOfPrivateSetter.kt");
}
@Test
@TestMetadata("function.kt")
public void testFunction() throws Exception {
@@ -14451,6 +14451,12 @@ public class FirJsES6CodegenBoxTestGenerated extends AbstractFirJsES6CodegenBoxT
runTest("compiler/testData/codegen/box/fakeOverride/diamondFunction.kt");
}
@Test
@TestMetadata("fakeOverrideOfPrivateSetter.kt")
public void testFakeOverrideOfPrivateSetter() throws Exception {
runTest("compiler/testData/codegen/box/fakeOverride/fakeOverrideOfPrivateSetter.kt");
}
@Test
@TestMetadata("function.kt")
public void testFunction() throws Exception {
@@ -14451,6 +14451,12 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/fakeOverride/diamondFunction.kt");
}
@Test
@TestMetadata("fakeOverrideOfPrivateSetter.kt")
public void testFakeOverrideOfPrivateSetter() throws Exception {
runTest("compiler/testData/codegen/box/fakeOverride/fakeOverrideOfPrivateSetter.kt");
}
@Test
@TestMetadata("function.kt")
public void testFunction() throws Exception {
@@ -14451,6 +14451,12 @@ public class IrJsES6CodegenBoxTestGenerated extends AbstractIrJsES6CodegenBoxTes
runTest("compiler/testData/codegen/box/fakeOverride/diamondFunction.kt");
}
@Test
@TestMetadata("fakeOverrideOfPrivateSetter.kt")
public void testFakeOverrideOfPrivateSetter() throws Exception {
runTest("compiler/testData/codegen/box/fakeOverride/fakeOverrideOfPrivateSetter.kt");
}
@Test
@TestMetadata("function.kt")
public void testFunction() throws Exception {