[JS IR] Fix kotlin.js.js with complex constant expressions
Use IR interpreter to evaluate complex constexprs
This commit is contained in:
Generated
+5
@@ -5065,6 +5065,11 @@ public class IrBoxJsES6TestGenerated extends AbstractIrBoxJsES6Test {
|
||||
runTest("js/js.translator/testData/box/jsCode/codeFromVariable.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("constantExpression.kt")
|
||||
public void testConstantExpression() throws Exception {
|
||||
runTest("js/js.translator/testData/box/jsCode/constantExpression.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("continue.kt")
|
||||
public void testContinue() throws Exception {
|
||||
runTest("js/js.translator/testData/box/jsCode/continue.kt");
|
||||
|
||||
+5
@@ -5065,6 +5065,11 @@ public class IrBoxJsTestGenerated extends AbstractIrBoxJsTest {
|
||||
runTest("js/js.translator/testData/box/jsCode/codeFromVariable.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("constantExpression.kt")
|
||||
public void testConstantExpression() throws Exception {
|
||||
runTest("js/js.translator/testData/box/jsCode/constantExpression.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("continue.kt")
|
||||
public void testContinue() throws Exception {
|
||||
runTest("js/js.translator/testData/box/jsCode/continue.kt");
|
||||
|
||||
+5
@@ -5080,6 +5080,11 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
|
||||
runTest("js/js.translator/testData/box/jsCode/codeFromVariable.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("constantExpression.kt")
|
||||
public void testConstantExpression() throws Exception {
|
||||
runTest("js/js.translator/testData/box/jsCode/constantExpression.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("continue.kt")
|
||||
public void testContinue() throws Exception {
|
||||
runTest("js/js.translator/testData/box/jsCode/continue.kt");
|
||||
|
||||
Reference in New Issue
Block a user