[JS IR] Add a test for external property accessor with a side effect.

This commit is contained in:
Alexander Korepanov
2022-04-19 15:36:37 +03:00
committed by Space
parent 57f16e801f
commit 9e591f3299
3 changed files with 63 additions and 9 deletions
@@ -5352,12 +5352,6 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
runTest("js/js.translator/testData/box/inlineEvaluationOrder/propertyAccessAndInitializer.kt");
}
@Test
@TestMetadata("propertyAccessNoSideEffect.kt")
public void testPropertyAccessNoSideEffect() throws Exception {
runTest("js/js.translator/testData/box/inlineEvaluationOrder/propertyAccessNoSideEffect.kt");
}
@Test
@TestMetadata("propertyAccessWithSideEffect.kt")
public void testPropertyAccessWithSideEffect() throws Exception {
@@ -5755,9 +5755,9 @@ public class IrBoxJsTestGenerated extends AbstractIrBoxJsTest {
}
@Test
@TestMetadata("propertyAccessNoSideEffect.kt")
public void testPropertyAccessNoSideEffect() throws Exception {
runTest("js/js.translator/testData/box/inlineEvaluationOrder/propertyAccessNoSideEffect.kt");
@TestMetadata("propertyAccessExternalWithSideEffect.kt")
public void testPropertyAccessExternalWithSideEffect() throws Exception {
runTest("js/js.translator/testData/box/inlineEvaluationOrder/propertyAccessExternalWithSideEffect.kt");
}
@Test