mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-07 13:39:36 +07:00
inference: ensure all type parameters are processed on upUp bound incorporation (IDEA-194839)
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
|
||||
import java.util.function.Function;
|
||||
|
||||
class MyTest {
|
||||
|
||||
static <T, R, F extends Function<T, R>> F from(F fun1) {
|
||||
return fun1;
|
||||
}
|
||||
|
||||
void test2() {
|
||||
Function<Object, Integer> ext = from(x -> 1);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user