forked from JavaTX/JavaCompilerCore
20 lines
231 B
Java
Executable File
20 lines
231 B
Java
Executable File
import de.dhbwstuttgart.typeinference.Menge;
|
|
|
|
class OL2 {
|
|
|
|
Integer m(Integer x) { return x + x; }
|
|
|
|
Boolean m(Boolean x) {return x || x; }
|
|
}
|
|
|
|
class Main {
|
|
|
|
main(x) {
|
|
ol;
|
|
ol = new OL2();
|
|
y;
|
|
y.add(ol.m(x));
|
|
}
|
|
|
|
}
|