[K/JS] Change js-call inlining strategy and + ability to referencethis safely from the js call ^Fixed KT-54134
This commit is contained in:
@@ -814,6 +814,12 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
|
||||
runTest("js/js.translator/testData/box/coroutines/dynamicSuspendReturnWithOperator.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("jsCallInsideCoroutine.kt")
|
||||
public void testJsCallInsideCoroutine() throws Exception {
|
||||
runTest("js/js.translator/testData/box/coroutines/jsCallInsideCoroutine.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt54382.kt")
|
||||
public void testKt54382() throws Exception {
|
||||
|
||||
+6
@@ -878,6 +878,12 @@ public class FirJsBoxTestGenerated extends AbstractFirJsBoxTest {
|
||||
runTest("js/js.translator/testData/box/coroutines/dynamicSuspendReturnWithOperator.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("jsCallInsideCoroutine.kt")
|
||||
public void testJsCallInsideCoroutine() throws Exception {
|
||||
runTest("js/js.translator/testData/box/coroutines/jsCallInsideCoroutine.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt54382.kt")
|
||||
public void testKt54382() throws Exception {
|
||||
|
||||
+6
@@ -878,6 +878,12 @@ public class IrBoxJsTestGenerated extends AbstractIrBoxJsTest {
|
||||
runTest("js/js.translator/testData/box/coroutines/dynamicSuspendReturnWithOperator.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("jsCallInsideCoroutine.kt")
|
||||
public void testJsCallInsideCoroutine() throws Exception {
|
||||
runTest("js/js.translator/testData/box/coroutines/jsCallInsideCoroutine.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt54382.kt")
|
||||
public void testKt54382() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user