31 lines
313 B
Plaintext
Raw Normal View History

2017-05-03 02:17:37 +02:00
class Main {
2017-05-05 13:04:03 +02:00
main () { return new A().mt( new MyInteger(), new MyInteger() , new MyInteger() ); }
2017-05-03 02:17:37 +02:00
}
2017-05-10 12:23:51 +02:00
class A {
2017-05-03 02:17:37 +02:00
mt(x,y,z) { return x.sub(y).add(z); }
}
2017-05-10 12:23:51 +02:00
interface if1<A,B> {
mt(a,b,c);
}
2017-05-03 02:17:37 +02:00
class MyInteger {
2017-05-10 12:23:51 +02:00
a = new MyInteger();
b;
2017-05-03 02:17:37 +02:00
2017-05-10 12:23:51 +02:00
mt(a) {
return new MyInteger();
}
2017-05-03 02:17:37 +02:00
}
2017-05-03 10:54:39 +02:00
class MyList {
2017-05-03 02:17:37 +02:00
2017-05-03 10:54:39 +02:00
}
2017-05-03 02:17:37 +02:00