JS: prevent optimizer from removing access to dynamic property access. See KT-15278
This commit is contained in:
@@ -1400,6 +1400,12 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("propertySideEffect.kt")
|
||||
public void testPropertySideEffect() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("js/js.translator/testData/box/dynamic/propertySideEffect.kt");
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("setByBrackets.kt")
|
||||
public void testSetByBrackets() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("js/js.translator/testData/box/dynamic/setByBrackets.kt");
|
||||
|
||||
Reference in New Issue
Block a user