[JS IR] Fix callable references ignoring bound parameters

^KT-51102 Fixed
This commit is contained in:
Alexander Korepanov
2022-04-05 17:41:03 +03:00
committed by Space
parent d9bab7dd96
commit d908eb6e84
4 changed files with 193 additions and 4 deletions
@@ -4592,6 +4592,12 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
runTest("js/js.translator/testData/box/inline/callableReference.kt");
}
@Test
@TestMetadata("callableReferenceOfLocalFun.kt")
public void testCallableReferenceOfLocalFun() throws Exception {
runTest("js/js.translator/testData/box/inline/callableReferenceOfLocalFun.kt");
}
@Test
@TestMetadata("callableReferenceOfLocalInline.kt")
public void testCallableReferenceOfLocalInline() throws Exception {
@@ -4970,6 +4970,12 @@ public class IrBoxJsTestGenerated extends AbstractIrBoxJsTest {
runTest("js/js.translator/testData/box/inline/callableReference.kt");
}
@Test
@TestMetadata("callableReferenceOfLocalFun.kt")
public void testCallableReferenceOfLocalFun() throws Exception {
runTest("js/js.translator/testData/box/inline/callableReferenceOfLocalFun.kt");
}
@Test
@TestMetadata("callableReferenceOfLocalInline.kt")
public void testCallableReferenceOfLocalInline() throws Exception {