[JS IR] Fix name clash between class members defined on prototype

- Fixes [KT-33327]
This commit is contained in:
Roman Artemev
2019-11-21 11:20:50 +03:00
committed by romanart
parent 987c6ab3ee
commit 9946feb66c
7 changed files with 53 additions and 11 deletions
@@ -6514,6 +6514,11 @@ public class IrBoxJsTestGenerated extends AbstractIrBoxJsTest {
runTest("js/js.translator/testData/box/propertyAccess/propertyAssignment.kt");
}
@TestMetadata("publicNameClash.kt")
public void testPublicNameClash() throws Exception {
runTest("js/js.translator/testData/box/propertyAccess/publicNameClash.kt");
}
@TestMetadata("setter.kt")
public void testSetter() throws Exception {
runTest("js/js.translator/testData/box/propertyAccess/setter.kt");
@@ -6544,6 +6544,11 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
runTest("js/js.translator/testData/box/propertyAccess/propertyAssignment.kt");
}
@TestMetadata("publicNameClash.kt")
public void testPublicNameClash() throws Exception {
runTest("js/js.translator/testData/box/propertyAccess/publicNameClash.kt");
}
@TestMetadata("setter.kt")
public void testSetter() throws Exception {
runTest("js/js.translator/testData/box/propertyAccess/setter.kt");