generating the body of the finally clause _four_ times is one time too many
#KT-1688 Fixed
This commit is contained in:
@@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user