Fix translation of labels with non-identifier names in JS BE

See KT-18027
This commit is contained in:
Alexey Andreev
2017-05-25 16:20:32 +03:00
parent 9375a1d984
commit 4bb1130f3f
7 changed files with 37 additions and 22 deletions
@@ -5450,6 +5450,12 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
doTest(fileName);
}
@TestMetadata("peculiarNames.kt")
public void testPeculiarNames() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("js/js.translator/testData/box/labels/peculiarNames.kt");
doTest(fileName);
}
@TestMetadata("siblingLabels.kt")
public void testSiblingLabels() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("js/js.translator/testData/box/labels/siblingLabels.kt");