modified: resources/insertGenericsJav/TestContraVariant.jav

This commit is contained in:
pl@gohorb.ba-horb.de 2023-05-09 14:28:32 +02:00
parent 8992260264
commit 5e1631439a

View File

@ -1,13 +1,15 @@
public class TestContraVariant {
main(x) {
var pair = m(x);
return pair.a;
main(x, y) {
var y2 = m(x, y).snd();
var z = null;
y2 = z;
return new Pair(x,z);
}
m(x) {
var z = main(x);
var y;
x = y;
m(x, y) {
var x2 = main(x, y).fst();
var z = null;
x2 = z;
return new Pair(z, y);
}
}