[FIR2IR] Fix adapted callable reference to nested class constructor

^KT-56829 Fixed
This commit is contained in:
Kirill Rakhman
2023-03-06 17:12:40 +01:00
committed by Space Team
parent e0baeb53db
commit c4255cdb0f
14 changed files with 92 additions and 5 deletions
@@ -2124,6 +2124,12 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/callableReference/adaptedReferences/manyDefaultsAndVararg.kt");
}
@Test
@TestMetadata("nestedClassConstructorWithDefault.kt")
public void testNestedClassConstructorWithDefault() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/adaptedReferences/nestedClassConstructorWithDefault.kt");
}
@Test
@TestMetadata("noNameClashForReferencesToSameFunction.kt")
public void testNoNameClashForReferencesToSameFunction() throws Exception {
@@ -2178,6 +2178,12 @@ public class FirJsCodegenBoxTestGenerated extends AbstractFirJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/callableReference/adaptedReferences/manyDefaultsAndVararg.kt");
}
@Test
@TestMetadata("nestedClassConstructorWithDefault.kt")
public void testNestedClassConstructorWithDefault() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/adaptedReferences/nestedClassConstructorWithDefault.kt");
}
@Test
@TestMetadata("noNameClashForReferencesToSameFunction.kt")
public void testNoNameClashForReferencesToSameFunction() throws Exception {
@@ -2178,6 +2178,12 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/callableReference/adaptedReferences/manyDefaultsAndVararg.kt");
}
@Test
@TestMetadata("nestedClassConstructorWithDefault.kt")
public void testNestedClassConstructorWithDefault() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/adaptedReferences/nestedClassConstructorWithDefault.kt");
}
@Test
@TestMetadata("noNameClashForReferencesToSameFunction.kt")
public void testNoNameClashForReferencesToSameFunction() throws Exception {
@@ -2178,6 +2178,12 @@ public class IrJsES6CodegenBoxTestGenerated extends AbstractIrJsES6CodegenBoxTes
runTest("compiler/testData/codegen/box/callableReference/adaptedReferences/manyDefaultsAndVararg.kt");
}
@Test
@TestMetadata("nestedClassConstructorWithDefault.kt")
public void testNestedClassConstructorWithDefault() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/adaptedReferences/nestedClassConstructorWithDefault.kt");
}
@Test
@TestMetadata("noNameClashForReferencesToSameFunction.kt")
public void testNoNameClashForReferencesToSameFunction() throws Exception {