[JS IR] Add deep copying for callable reference

Perform a deep copy of callable reference adapter on inline lowering

^KT-49844 Fixed
This commit is contained in:
Alexander Korepanov
2021-12-09 14:12:00 +03:00
committed by Space
parent 7b41d382b8
commit b82c306530
13 changed files with 133 additions and 20 deletions
@@ -36326,6 +36326,12 @@ public class ExternalTestGenerated extends AbstractExternalNativeBlackBoxTest {
public void testInlineVarargInts() throws Exception {
runTest("compiler/testData/codegen/boxInline/callableReference/adaptedReferences/inlineVarargInts.kt");
}
@Test
@TestMetadata("multipleCallableReferenceUsage.kt")
public void testMultipleCallableReferenceUsage() throws Exception {
runTest("compiler/testData/codegen/boxInline/callableReference/adaptedReferences/multipleCallableReferenceUsage.kt");
}
}
@Nested