remove attempt to optimize using 'if' statement as the last one in a loop which created far more problems that it fixed

#KT-1978 Fixed
This commit is contained in:
Dmitry Jemerov
2012-06-09 15:14:33 +02:00
parent a061bca524
commit 0a05197454
3 changed files with 17 additions and 8 deletions
@@ -126,4 +126,9 @@ public class VarArgTest extends CodegenTestCase {
assertEquals("mama", Array.get(invoke, 0));
assertEquals("papa", Array.get(invoke, 1));
}
public void testKt1978() {
createEnvironmentWithMockJdkAndIdeaAnnotations(CompilerSpecialMode.JDK_HEADERS);
blackBoxFile("regressions/kt1978.kt");
}
}