Refine multi-file facades generation

Do not generate delegation from multi-file facade to inline-only functions
because they are effectively private in bytecode

 #KT-10858 Fixed
This commit is contained in:
Denis Zharkov
2016-02-03 18:40:52 +03:00
parent e4583fd275
commit 889b136a68
6 changed files with 38 additions and 3 deletions
@@ -47,6 +47,12 @@ public class BytecodeListingTestGenerated extends AbstractBytecodeListingTest {
doTest(fileName);
}
@TestMetadata("InlineOnlyMultifile.kt")
public void testInlineOnlyMultifile() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/bytecodeListing/InlineOnlyMultifile.kt");
doTest(fileName);
}
@TestMetadata("compiler/testData/codegen/bytecodeListing/annotations")
@TestDataPath("$PROJECT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)