Fix JS compiler crash when translating external object fun with vararg

See KT-19793
This commit is contained in:
Alexey Andreev
2017-09-04 12:50:57 +03:00
parent 989cebe79e
commit 5a984a40e6
4 changed files with 34 additions and 0 deletions
@@ -6191,6 +6191,12 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
doTest(fileName);
}
@TestMetadata("objectFunWithVararg.kt")
public void testObjectFunWithVararg() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("js/js.translator/testData/box/native/objectFunWithVararg.kt");
doTest(fileName);
}
@TestMetadata("overrideNativeOverloadedFunction.kt")
public void testOverrideNativeOverloadedFunction() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("js/js.translator/testData/box/native/overrideNativeOverloadedFunction.kt");