Fix for KT-11590: IllegalAccessError: SAM adapter generated with invalid accessibility for inline function

#KT-11590 Fixed
This commit is contained in:
Michael Bogdanov
2016-03-24 10:31:45 +01:00
parent 33cd661aad
commit d0aac74e72
10 changed files with 133 additions and 54 deletions
@@ -175,6 +175,12 @@ public class BlackBoxInlineCodegenTestGenerated extends AbstractBlackBoxInlineCo
doTest(fileName);
}
@TestMetadata("sam.kt")
public void testSam() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxInline/anonymousObject/sam.kt");
doTest(fileName);
}
@TestMetadata("compiler/testData/codegen/boxInline/anonymousObject/enumWhen")
@TestDataPath("$PROJECT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)