mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-04 08:51:02 +07:00
15 lines
234 B
Java
15 lines
234 B
Java
class List<T> {}
|
|
|
|
class Base<T> {
|
|
void foo(List<T>[] l, String s) {}
|
|
}
|
|
|
|
class Inheritor extends Base<Integer> {
|
|
void foo(List<Integer>[] l, String s) {}
|
|
|
|
{
|
|
new Inheritor().foo(new List[]{new List<Integer>()}, "a");
|
|
}
|
|
}
|
|
|