JS: don't throw AssertionError from RedundantCallElimination
Also mark JS `call` function to avoid removing a custom `call`
This commit is contained in:
+5
@@ -3835,6 +3835,11 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
|
||||
runTest("js/js.translator/testData/box/inline/extensionWithManyArguments.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("faultyRedundantCallElimination.kt")
|
||||
public void testFaultyRedundantCallElimination() throws Exception {
|
||||
runTest("js/js.translator/testData/box/inline/faultyRedundantCallElimination.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("identityEquals.kt")
|
||||
public void testIdentityEquals() throws Exception {
|
||||
runTest("js/js.translator/testData/box/inline/identityEquals.kt");
|
||||
|
||||
+5
@@ -3835,6 +3835,11 @@ public class IrBoxJsTestGenerated extends AbstractIrBoxJsTest {
|
||||
runTest("js/js.translator/testData/box/inline/extensionWithManyArguments.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("faultyRedundantCallElimination.kt")
|
||||
public void testFaultyRedundantCallElimination() throws Exception {
|
||||
runTest("js/js.translator/testData/box/inline/faultyRedundantCallElimination.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("identityEquals.kt")
|
||||
public void testIdentityEquals() throws Exception {
|
||||
runTest("js/js.translator/testData/box/inline/identityEquals.kt");
|
||||
|
||||
Reference in New Issue
Block a user