mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-06 20:39:40 +07:00
new inference: process captured wildcard with array type bound
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
import java.util.List;
|
||||
|
||||
abstract class Test {
|
||||
|
||||
public static void foo(List<? extends String[]> aClass) {
|
||||
copyOfRange(aClass);
|
||||
}
|
||||
|
||||
public static <P> void copyOfRange(List<? extends P[]> newType) {}
|
||||
}
|
||||
Reference in New Issue
Block a user