mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 15:09:39 +07:00
inference: process supertypes starting from self to find valid parameterization (IDEA-204125)
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
|
||||
import java.util.*;
|
||||
|
||||
class MyTest {
|
||||
{
|
||||
consume(new HashSet<ListProperty<?>>());
|
||||
}
|
||||
|
||||
static <_L extends ListProperty<String>> void consume(HashSet<? super _L> a) {}
|
||||
}
|
||||
interface ListProperty<A> extends Set<List<A>>{}
|
||||
Reference in New Issue
Block a user