mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-01 02:38:59 +07:00
assert no type execution under overload lock for diamonds
IDEA-CR-55327 GitOrigin-RevId: e2b1043a41b9548df3c2eb263a27da6d6c22b6be
This commit is contained in:
committed by
intellij-monorepo-bot
parent
e7b0a9cde3
commit
d4ff582489
@@ -0,0 +1,16 @@
|
||||
import java.util.Collection;
|
||||
import java.util.Set;
|
||||
import java.util.TreeSet;
|
||||
|
||||
class Test {
|
||||
Test(final Set<? super String> set) {
|
||||
System.out.println(join(TreeSet.cre<caret>ate(set)));
|
||||
}
|
||||
|
||||
public static String join(Iterable<?> items) {return "";}
|
||||
public static String join(Collection<String> strings) {return "";}
|
||||
}
|
||||
|
||||
class TreeSet<E> extends Set<E> {
|
||||
static <T> TreeSet<T> create(Collection<? extends T> c) { return null;}
|
||||
}
|
||||
Reference in New Issue
Block a user