Fix for KT-12106: import static of reified companion object method throws IllegalAccessError

#KT-12106 Fixed
This commit is contained in:
Michael Bogdanov
2016-06-26 18:19:02 +03:00
committed by Mikhael Bogdanov
parent 5df52e08cc
commit abc7d5101d
6 changed files with 75 additions and 2 deletions
@@ -1789,12 +1789,24 @@ public class BlackBoxInlineCodegenTestGenerated extends AbstractBlackBoxInlineCo
doTest(fileName);
}
@TestMetadata("funImportedFromObject.kt")
public void testFunImportedFromObject() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxInline/simple/funImportedFromObject.kt");
doTest(fileName);
}
@TestMetadata("params.kt")
public void testParams() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxInline/simple/params.kt");
doTest(fileName);
}
@TestMetadata("propImportedFromObject.kt")
public void testPropImportedFromObject() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxInline/simple/propImportedFromObject.kt");
doTest(fileName);
}
@TestMetadata("rootConstructor.kt")
public void testRootConstructor() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxInline/simple/rootConstructor.kt");