Fix translation to JS of call to top-level fun with vararg and @JsModule

See KT-17871
This commit is contained in:
Alexey Andreev
2017-05-25 14:28:38 +03:00
parent e2fc808d83
commit f5510b8d66
4 changed files with 28 additions and 2 deletions
@@ -5278,6 +5278,12 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
String fileName = KotlinTestUtils.navigationMetadata("js/js.translator/testData/box/jsModule/importCountUmd.kt");
doTest(fileName);
}
@TestMetadata("topLevelVarargFun.kt")
public void testTopLevelVarargFun() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("js/js.translator/testData/box/jsModule/topLevelVarargFun.kt");
doTest(fileName);
}
}
@TestMetadata("js/js.translator/testData/box/jsName")