mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
push down/pull up: ensure raw substitutor correctly erase types in the target class (IDEA-155581)
This commit is contained in:
+9
@@ -0,0 +1,9 @@
|
||||
import java.util.*;
|
||||
|
||||
class A<T> {
|
||||
<S extends T, K extends List<List<T>>> <caret>foo(List<? extends T> l1, List<? extends S> l2, List<? extends K> l3, S s, K k, T t) {
|
||||
Collections.<T>emptyList();
|
||||
}
|
||||
}
|
||||
|
||||
class B extends A {}
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
import java.util.*;
|
||||
|
||||
class A<T> {
|
||||
}
|
||||
|
||||
class B extends A {
|
||||
<S extends Object, K extends List> B(List l1, List<? extends S> l2, List<? extends K> l3, S s, K k, Object t) {
|
||||
Collections.emptyList();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user