[FIR2IR] Unwrap substitution overrides during generation of delegated members

^KT-55828 Fixed
This commit is contained in:
Dmitriy Novozhilov
2023-02-28 13:11:28 +02:00
committed by Space Team
parent f44fcc811b
commit ca2492e1f8
20 changed files with 1194 additions and 2 deletions
@@ -13917,6 +13917,18 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/functions/defaultargs7.kt");
}
@Test
@TestMetadata("delegatedPropertyWithMultipleOverriddens_generics.kt")
public void testDelegatedPropertyWithMultipleOverriddens_generics() throws Exception {
runTest("compiler/testData/codegen/box/functions/delegatedPropertyWithMultipleOverriddens_generics.kt");
}
@Test
@TestMetadata("delegatedPropertyWithMultipleOverriddens_noGenerics.kt")
public void testDelegatedPropertyWithMultipleOverriddens_noGenerics() throws Exception {
runTest("compiler/testData/codegen/box/functions/delegatedPropertyWithMultipleOverriddens_noGenerics.kt");
}
@Test
@TestMetadata("ea33909.kt")
public void testEa33909() throws Exception {
@@ -14013,6 +14013,18 @@ public class FirJsCodegenBoxTestGenerated extends AbstractFirJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/functions/defaultargs7.kt");
}
@Test
@TestMetadata("delegatedPropertyWithMultipleOverriddens_generics.kt")
public void testDelegatedPropertyWithMultipleOverriddens_generics() throws Exception {
runTest("compiler/testData/codegen/box/functions/delegatedPropertyWithMultipleOverriddens_generics.kt");
}
@Test
@TestMetadata("delegatedPropertyWithMultipleOverriddens_noGenerics.kt")
public void testDelegatedPropertyWithMultipleOverriddens_noGenerics() throws Exception {
runTest("compiler/testData/codegen/box/functions/delegatedPropertyWithMultipleOverriddens_noGenerics.kt");
}
@Test
@TestMetadata("ea33909.kt")
public void testEa33909() throws Exception {
@@ -14013,6 +14013,18 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/functions/defaultargs7.kt");
}
@Test
@TestMetadata("delegatedPropertyWithMultipleOverriddens_generics.kt")
public void testDelegatedPropertyWithMultipleOverriddens_generics() throws Exception {
runTest("compiler/testData/codegen/box/functions/delegatedPropertyWithMultipleOverriddens_generics.kt");
}
@Test
@TestMetadata("delegatedPropertyWithMultipleOverriddens_noGenerics.kt")
public void testDelegatedPropertyWithMultipleOverriddens_noGenerics() throws Exception {
runTest("compiler/testData/codegen/box/functions/delegatedPropertyWithMultipleOverriddens_noGenerics.kt");
}
@Test
@TestMetadata("ea33909.kt")
public void testEa33909() throws Exception {
@@ -14013,6 +14013,18 @@ public class IrJsES6CodegenBoxTestGenerated extends AbstractIrJsES6CodegenBoxTes
runTest("compiler/testData/codegen/box/functions/defaultargs7.kt");
}
@Test
@TestMetadata("delegatedPropertyWithMultipleOverriddens_generics.kt")
public void testDelegatedPropertyWithMultipleOverriddens_generics() throws Exception {
runTest("compiler/testData/codegen/box/functions/delegatedPropertyWithMultipleOverriddens_generics.kt");
}
@Test
@TestMetadata("delegatedPropertyWithMultipleOverriddens_noGenerics.kt")
public void testDelegatedPropertyWithMultipleOverriddens_noGenerics() throws Exception {
runTest("compiler/testData/codegen/box/functions/delegatedPropertyWithMultipleOverriddens_noGenerics.kt");
}
@Test
@TestMetadata("ea33909.kt")
public void testEa33909() throws Exception {