Remove external finally block interval on splitting during inline

#KT-20433 Fixed
This commit is contained in:
Mikhael Bogdanov
2017-11-03 14:08:10 +01:00
parent f51709e61c
commit 800cc63347
12 changed files with 330 additions and 4 deletions
@@ -1876,6 +1876,30 @@ public class BlackBoxInlineCodegenTestGenerated extends AbstractBlackBoxInlineCo
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxInline/nonLocalReturns/tryFinally"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.ANY, true);
}
@TestMetadata("kt20433.kt")
public void testKt20433() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxInline/nonLocalReturns/tryFinally/kt20433.kt");
doTest(fileName);
}
@TestMetadata("kt20433_2.kt")
public void testKt20433_2() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxInline/nonLocalReturns/tryFinally/kt20433_2.kt");
doTest(fileName);
}
@TestMetadata("kt20433_2_void.kt")
public void testKt20433_2_void() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxInline/nonLocalReturns/tryFinally/kt20433_2_void.kt");
doTest(fileName);
}
@TestMetadata("kt20433_void.kt")
public void testKt20433_void() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxInline/nonLocalReturns/tryFinally/kt20433_void.kt");
doTest(fileName);
}
@TestMetadata("kt6956.kt")
public void testKt6956() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxInline/nonLocalReturns/tryFinally/kt6956.kt");