mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-13 21:55:01 +07:00
Merge branch 'master' into amakeev/gradle
# Conflicts: # community/plugins/gradle/src/org/jetbrains/plugins/gradle/service/settings/IdeaGradleProjectSettingsControlBuilder.java GitOrigin-RevId: d931e798108685731bf185f7c2e3221680b8e5a2
This commit is contained in:
committed by
intellij-monorepo-bot
parent
1e05aec13b
commit
aa103fd53c
+14
@@ -0,0 +1,14 @@
|
||||
import java.util.List;
|
||||
import java.util.Set;
|
||||
|
||||
abstract class Overloadsss {
|
||||
abstract <T> List<T> foo(List<T> l);
|
||||
abstract <T> Set<T> foo(Set<T> s);
|
||||
|
||||
abstract <K> List<K> bar1(List<K> l);
|
||||
abstract <K> Set<K> bar1(Set<K> s);
|
||||
|
||||
{
|
||||
List<String> l1 = foo(<caret>bar1(null));
|
||||
}
|
||||
}
|
||||
+13
@@ -12,4 +12,17 @@ interface Test {
|
||||
|
||||
static void of(String... lists) { }
|
||||
|
||||
}
|
||||
|
||||
interface Entry<T> { }
|
||||
interface ClassA<T> {
|
||||
static <T> void f(Iterable<T> values) {
|
||||
}
|
||||
}
|
||||
interface ClassB<T> extends ClassA<Entry<T>> {
|
||||
static <T> void f(Iterable<? extends Entry<? extends T>> values) {}
|
||||
|
||||
static void m(Iterable<Entry<String>> x) {
|
||||
f(x);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user