[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
@@ -1940,6 +1940,11 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
runTest("compiler/testData/codegen/box/callableReference/adaptedReferences/manyDefaultsAndVararg.kt");
}
@TestMetadata("nestedClassConstructorWithDefault.kt")
public void testNestedClassConstructorWithDefault() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/adaptedReferences/nestedClassConstructorWithDefault.kt");
}
@TestMetadata("noNameClashForReferencesToSameFunction.kt")
public void testNoNameClashForReferencesToSameFunction() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/adaptedReferences/noNameClashForReferencesToSameFunction.kt");