Fix for KT-15726: Kotlin can't compile nested try-catch with return

#KT-15726 Fixed
This commit is contained in:
Mikhael Bogdanov
2017-01-26 16:33:08 +01:00
parent 2c1c3d1f31
commit ab464ea86e
7 changed files with 58 additions and 0 deletions
@@ -4752,6 +4752,12 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
doTest(fileName);
}
@TestMetadata("kt15726.kt")
public void testKt15726() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/controlStructures/kt15726.kt");
doTest(fileName);
}
@TestMetadata("kt1688.kt")
public void testKt1688() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/controlStructures/kt1688.kt");