Generate correct varargs flag for @JvmOverloads-generated methods

#KT-14186 Fixed
This commit is contained in:
Dmitry Jemerov
2016-11-17 11:21:49 +01:00
parent 16a133bf5c
commit d3ccbe8172
6 changed files with 42 additions and 2 deletions
@@ -8638,6 +8638,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/jvmOverloads/simpleJavaCall.kt");
doTest(fileName);
}
@TestMetadata("varargs.kt")
public void testVarargs() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/jvmOverloads/varargs.kt");
doTest(fileName);
}
}
@TestMetadata("compiler/testData/codegen/box/jvmStatic")