JavaPatternMatching/resources/insertGenerics/javFiles/TestTwoCalls.jav

14 lines
183 B
Java

public class TestTwoCalls {
// <O> O -> O
id(b) {
var c = b;
return c;
}
// <T, S> (S, T) -> T
main(x,y) {
id(x);
return id(y);
}
}