Fix recusrive calls in infix and prefix form

The infamous invokeOperation() method removed
This commit is contained in:
Andrey Breslav
2013-11-28 20:09:37 +04:00
parent db4b73189a
commit 93160431f9
6 changed files with 81 additions and 34 deletions
@@ -2407,6 +2407,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
doTest("compiler/testData/codegen/box/functions/functionNtoString.kt");
}
@TestMetadata("infixRecursiveCall.kt")
public void testInfixRecursiveCall() throws Exception {
doTest("compiler/testData/codegen/box/functions/infixRecursiveCall.kt");
}
@TestMetadata("kt1038.kt")
public void testKt1038() throws Exception {
doTest("compiler/testData/codegen/box/functions/kt1038.kt");
@@ -2512,6 +2517,21 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
doTest("compiler/testData/codegen/box/functions/nothisnoclosure.kt");
}
@TestMetadata("prefixRecursiveCall.kt")
public void testPrefixRecursiveCall() throws Exception {
doTest("compiler/testData/codegen/box/functions/prefixRecursiveCall.kt");
}
@TestMetadata("recursiveCompareTo.kt")
public void testRecursiveCompareTo() throws Exception {
doTest("compiler/testData/codegen/box/functions/recursiveCompareTo.kt");
}
@TestMetadata("recursiveIncrementCall.kt")
public void testRecursiveIncrementCall() throws Exception {
doTest("compiler/testData/codegen/box/functions/recursiveIncrementCall.kt");
}
@TestMetadata("compiler/testData/codegen/box/functions/invoke")
public static class Invoke extends AbstractBlackBoxCodegenTest {
public void testAllFilesPresentInInvoke() throws Exception {