Remove redundant ACC_VARARGS on methods generated with @JvmOverloads

#KT-15424 Fixed
This commit is contained in:
Denis Zharkov
2017-02-09 11:20:54 +03:00
parent 1f179a6f01
commit fcb4db0226
5 changed files with 76 additions and 5 deletions
@@ -9563,6 +9563,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
doTest(fileName);
}
@TestMetadata("noRedundantVarargs.kt")
public void testNoRedundantVarargs() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/jvmOverloads/noRedundantVarargs.kt");
doTest(fileName);
}
@TestMetadata("nonDefaultParameter.kt")
public void testNonDefaultParameter() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/jvmOverloads/nonDefaultParameter.kt");