mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-05 04:40:28 +07:00
testdata for EA-53634 - assert: PsiWildcardType.createSuper
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
// "Remove 2nd parameter from method 'foo'" "true"
|
||||
class Test {
|
||||
|
||||
private List<? extends CharSequence> sequences = null;
|
||||
|
||||
{
|
||||
foo(sequences.map());
|
||||
}
|
||||
|
||||
<K> void foo(K s){}
|
||||
|
||||
interface List<T> {
|
||||
List<? super T> map();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
// "Remove 2nd parameter from method 'foo'" "true"
|
||||
class Test {
|
||||
|
||||
private List<? extends CharSequence> sequences = null;
|
||||
|
||||
{
|
||||
foo(se<caret>quences.map());
|
||||
}
|
||||
|
||||
<K> void foo(K s, Object o){}
|
||||
|
||||
interface List<T> {
|
||||
List<? super T> map();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user