better handling of empty if/else blocks

This commit is contained in:
Alex Tkachman
2011-11-29 11:56:30 +02:00
parent 84cb0a179a
commit ce1718e518
7 changed files with 101 additions and 19 deletions
@@ -220,4 +220,9 @@ public class ControlStructuresTest extends CodegenTestCase {
createEnvironmentWithFullJdk();
blackBoxFile("regressions/kt434.jet");
}
public void testQuicksort() throws Exception {
blackBoxFile("controlStructures/quicksort.jet");
// System.out.println(generateToText());
}
}
@@ -266,7 +266,7 @@ public class PrimitiveTypesTest extends CodegenTestCase {
}
public void testKt239 () throws Exception {
blackBoxFile("regressions/kt242.jet");
blackBoxFile("regressions/kt239.jet");
}
public void testKt243 () throws Exception {