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