JavaCompilerCore/resources/insertGenericsJav/TestContraVariant.jav
2023-05-09 12:18:12 +02:00

13 lines
203 B
Java

public class TestContraVariant {
main(x) {
var pair = m(x);
return pair.a;
}
m(x) {
var z = main(x);
var y;
x = y;
return new Pair(z, y);
}
}