forked from JavaTX/JavaCompilerCore
modified: resources/insertGenericsJav/TestContraVariant.jav
This commit is contained in:
parent
8992260264
commit
5e1631439a
@ -1,13 +1,15 @@
|
|||||||
public class TestContraVariant {
|
public class TestContraVariant {
|
||||||
main(x) {
|
main(x, y) {
|
||||||
var pair = m(x);
|
var y2 = m(x, y).snd();
|
||||||
return pair.a;
|
var z = null;
|
||||||
|
y2 = z;
|
||||||
|
return new Pair(x,z);
|
||||||
}
|
}
|
||||||
|
|
||||||
m(x) {
|
m(x, y) {
|
||||||
var z = main(x);
|
var x2 = main(x, y).fst();
|
||||||
var y;
|
var z = null;
|
||||||
x = y;
|
x2 = z;
|
||||||
return new Pair(z, y);
|
return new Pair(z, y);
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user