1991bbbcd3
FunN-Types werden nach RefTypes mit FunN$$ nach Unifikation zurueckkonvertiert. modified: target/JavaTXcompiler-0.1-jar-with-dependencies.jar modified: test/bytecode/javFiles/Faculty.jav modified: test/bytecode/javFiles/Lambda.jav modified: test/bytecode/javFiles/OL.jav modified: test/javFiles/Lambda.jav
18 lines
231 B
Java
18 lines
231 B
Java
import java.lang.Integer;
|
|
|
|
class Faculty {
|
|
|
|
m () {
|
|
|
|
var fact = (Integer x) -> {
|
|
//if (x == 1) {
|
|
return x;
|
|
//}
|
|
//else {
|
|
//return x * (fact.apply(x-1));
|
|
//}
|
|
};
|
|
return fact;
|
|
}
|
|
}
|