mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-28 06:51:01 +07:00
16 lines
194 B
Java
16 lines
194 B
Java
// "Make 'a' implement 'b'" "true-preview"
|
|
interface b<T> {
|
|
void f(T t);
|
|
}
|
|
|
|
class a {}
|
|
|
|
class X {
|
|
void h(b<? super Integer> i) {
|
|
|
|
}
|
|
|
|
void g() {
|
|
h(new a<caret>());
|
|
}
|
|
} |