Fix for KT-9591: Exception on inlining

#KT-9591 Fixed
This commit is contained in:
Michael Bogdanov
2016-01-21 15:04:58 +03:00
parent 53fe1568c9
commit bf16783fb7
5 changed files with 38 additions and 1 deletions
@@ -139,6 +139,12 @@ public class BlackBoxInlineCodegenTestGenerated extends AbstractBlackBoxInlineCo
doTestMultiFileWithInlineCheck(fileName);
}
@TestMetadata("kt9591.1.kt")
public void testKt9591() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxInline/anonymousObject/kt9591.1.kt");
doTestMultiFileWithInlineCheck(fileName);
}
@TestMetadata("kt9877.1.kt")
public void testKt9877() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxInline/anonymousObject/kt9877.1.kt");
@@ -139,6 +139,12 @@ public class CompileKotlinAgainstInlineKotlinTestGenerated extends AbstractCompi
doBoxTestWithInlineCheck(fileName);
}
@TestMetadata("kt9591.1.kt")
public void testKt9591() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxInline/anonymousObject/kt9591.1.kt");
doBoxTestWithInlineCheck(fileName);
}
@TestMetadata("kt9877.1.kt")
public void testKt9877() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxInline/anonymousObject/kt9877.1.kt");