generating the body of the finally clause _four_ times is one time too many

#KT-1688 Fixed
This commit is contained in:
Dmitry Jemerov
2012-06-08 19:21:41 +02:00
parent 9eb2dd4bfe
commit 102f5c60be
3 changed files with 20 additions and 6 deletions
@@ -337,17 +337,17 @@ public class ControlStructuresTest extends CodegenTestCase {
blackBoxFile("regressions/kt2147.kt");
}
public void testIfDummy() throws Exception {
public void testIfDummy() {
createEnvironmentWithMockJdkAndIdeaAnnotations(CompilerSpecialMode.JDK_HEADERS);
blackBoxFile("regressions/kt1899.kt");
}
public void testKt1742() throws Exception {
public void testKt1742() {
createEnvironmentWithMockJdkAndIdeaAnnotations(CompilerSpecialMode.JDK_HEADERS);
blackBoxFile("regressions/kt1742.kt");
}
public void testKt2062() throws Exception {
public void testKt2062() {
createEnvironmentWithMockJdkAndIdeaAnnotations(CompilerSpecialMode.JDK_HEADERS);
blackBoxFile("regressions/kt2062.kt");
}
@@ -356,4 +356,9 @@ public class ControlStructuresTest extends CodegenTestCase {
createEnvironmentWithMockJdkAndIdeaAnnotations(CompilerSpecialMode.JDK_HEADERS);
blackBoxFile("regressions/kt910.kt");
}
public void testKt1688() {
createEnvironmentWithMockJdkAndIdeaAnnotations(CompilerSpecialMode.JDK_HEADERS);
blackBoxFile("regressions/kt1688.kt");
}
}