Avoid generation of redundant toArray stubs

#KT-13698 In Progress
This commit is contained in:
Denis Zharkov
2016-10-05 15:53:23 +03:00
parent e05e0ec921
commit 6e838f0adc
8 changed files with 48 additions and 15 deletions
@@ -89,6 +89,12 @@ public class BytecodeListingTestGenerated extends AbstractBytecodeListingTest {
doTest(fileName);
}
@TestMetadata("noToArrayInJava.kt")
public void testNoToArrayInJava() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/bytecodeListing/noToArrayInJava.kt");
doTest(fileName);
}
@TestMetadata("samAdapterAndInlinedOne.kt")
public void testSamAdapterAndInlinedOne() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/bytecodeListing/samAdapterAndInlinedOne.kt");