forked from JavaTX/JavaCompilerCore
60d5da6f24
Ergebnisse als Kommentare eingefuegt.
27 lines
376 B
Java
27 lines
376 B
Java
public class TestTwoArgs {
|
|
//A
|
|
a;
|
|
|
|
//<A1> A1 -> A1
|
|
id(b) {
|
|
var c = b;
|
|
return c;
|
|
}
|
|
|
|
//<B extends A> B -> A
|
|
setA(x) {
|
|
a = x;
|
|
return a;
|
|
}
|
|
|
|
//<C, D extends C> (C,D) -> C
|
|
m(x,y) {
|
|
x = id(y);
|
|
return x;
|
|
}
|
|
|
|
//<E, F extends A> (E, F) -> E
|
|
main(x,y) {
|
|
return m(id(x),setA(y));
|
|
}
|
|
} |