forked from JavaTX/JavaCompilerCore
doc
logFiles
resources
AllgemeinTest
bytecode
insertGenerics
javFiles
TestAny.jav
TestAssign.jav
TestClassField.jav
TestContraVariant.jav
TestGGFinder.jav
TestLocalVarLambda.jav
TestMutualRecursion.jav
TestMutualRecursionWithField.jav
TestMutualRecursionWithField2.jav
TestMutualRecursionWithField3.jav
TestReturnVar.jav
TestSecondLineOfClassConstraints.jav
TestTPHsAndGenerics.jav
TestTPHsAndGenerics2.jav
TestThreeArgs.jav
TestTwoArgs.jav
TestTwoArgs2.jav
TestTwoCalls.jav
TestVector.jav
TestVectorArg.jav
TestVoidMeth.jav
packageTest
syntaxtreegenerator
src
.gitignore
README_aktuelle_Branches
pom.xml
22 lines
284 B
Java
22 lines
284 B
Java
public class TestMutualRecursionWithField {
|
|
a;
|
|
|
|
id(b) {
|
|
var c = b;
|
|
return main(b,c);
|
|
}
|
|
|
|
setA(x) {
|
|
a = x;
|
|
return a;
|
|
}
|
|
|
|
m(x,y) {
|
|
x = id(y);
|
|
return x;
|
|
}
|
|
|
|
main(x,y) {
|
|
return m(id(x),setA(y));
|
|
}
|
|
} |