Fix for KT-6552 IllegalAccessError in inline function with "when" over enum across modules

#KT-6552 Fixed
This commit is contained in:
Michael Bogdanov
2015-10-29 11:27:53 +03:00
parent 9e5af43ce1
commit 33bf314518
5 changed files with 26 additions and 1 deletions
@@ -115,6 +115,12 @@ public class BlackBoxInlineCodegenTestGenerated extends AbstractBlackBoxInlineCo
doTestMultiFileWithInlineCheck(fileName);
}
@TestMetadata("kt6552.1.kt")
public void testKt6552() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/codegen/boxInline/anonymousObject/kt6552.1.kt");
doTestMultiFileWithInlineCheck(fileName);
}
@TestMetadata("kt8133.1.kt")
public void testKt8133() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/codegen/boxInline/anonymousObject/kt8133.1.kt");
@@ -115,6 +115,12 @@ public class CompileKotlinAgainstInlineKotlinTestGenerated extends AbstractCompi
doBoxTestWithInlineCheck(fileName);
}
@TestMetadata("kt6552.1.kt")
public void testKt6552() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/codegen/boxInline/anonymousObject/kt6552.1.kt");
doBoxTestWithInlineCheck(fileName);
}
@TestMetadata("kt8133.1.kt")
public void testKt8133() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/codegen/boxInline/anonymousObject/kt8133.1.kt");