Fix for: KT-14011 Compiler crash when inlining: lateinit property allRecapturedParameters has not been initialized

#KT-14011 Fixed
This commit is contained in:
Mikhael Bogdanov
2016-12-20 17:48:46 +01:00
parent fa77dd62c4
commit 1040c97196
10 changed files with 133 additions and 10 deletions
@@ -140,6 +140,24 @@ public class BlackBoxInlineCodegenTestGenerated extends AbstractBlackBoxInlineCo
doTest(fileName);
}
@TestMetadata("kt14011.kt")
public void testKt14011() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxInline/anonymousObject/kt14011.kt");
doTest(fileName);
}
@TestMetadata("kt14011_2.kt")
public void testKt14011_2() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxInline/anonymousObject/kt14011_2.kt");
doTest(fileName);
}
@TestMetadata("kt14011_3.kt")
public void testKt14011_3() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxInline/anonymousObject/kt14011_3.kt");
doTest(fileName);
}
@TestMetadata("kt6552.kt")
public void testKt6552() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxInline/anonymousObject/kt6552.kt");