Pull Up: Java -> Kotlin interoperability

#KT-5803 Fixed
This commit is contained in:
Alexey Sedunov
2015-08-06 16:20:12 +03:00
parent 556285f2c7
commit 7125989c69
50 changed files with 1337 additions and 337 deletions
@@ -0,0 +1,20 @@
class C<W extends I> {
abstract class <caret>B<X extends I, Y> extends A<X, I, Z<Y>> {
// INFO: {"checked": "true"}
<S extends X> void foo(X x1, Z<X> x2, Y y1, Z<Y> y2, W w1, Z<W> w2, S s1, Z<S> s2) {
}
// INFO: {"checked": "true"}
class Foo<S> extends A<X, I, Z<Y>> implements Z<W> {
}
// INFO: {"checked": "true"}
X foo1;
// INFO: {"checked": "true"}
Z<X> foo2;
// INFO: {"checked": "true"}
Y foo3;
// INFO: {"checked": "true"}
Z<Y> foo4;
}
}