JS: fix scope of function generated for primary constructor. See KT-15678

This commit is contained in:
Alexey Andreev
2017-01-16 12:22:52 +03:00
parent daac24b62e
commit a927770935
5 changed files with 35 additions and 6 deletions
@@ -5630,6 +5630,12 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
doTest(fileName);
}
@TestMetadata("constructorLocalVar.kt")
public void testConstructorLocalVar() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("js/js.translator/testData/box/nameClashes/constructorLocalVar.kt");
doTest(fileName);
}
@TestMetadata("differenceInCapitalization.kt")
public void testDifferenceInCapitalization() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("js/js.translator/testData/box/nameClashes/differenceInCapitalization.kt");