JavaTXCompilerInJavaTX/test/strucTypes5/ConvertTest.jav
2017-05-11 14:32:19 +02:00

31 lines
350 B
Java

class Main {
main () { return new A().mt( new MyInteger(), new MyInteger() , new MyInteger() ); }
}
class A {
mt(x,y,z) { return x.sub(y).add(z); }
}
interface TVar_5 < TVar_16, TVar_15 > {
TVar_16 add ( TVar_15 x);
}
class MyInteger implements TVar_5<MyInteger,MyInteger> {
MyInteger add( MyInteger x );
}
class MyList {
}