mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 15:27:45 +07:00
substitute type parameter bounds with current substitution when method signatures in the hierarchy are checked (IDEA-159801)
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
import java.util.List;
|
||||
|
||||
interface A {
|
||||
String save(String world);
|
||||
}
|
||||
|
||||
interface Test2 extends A, CR<String> {}
|
||||
interface Test1 extends CR<String>, A {}
|
||||
interface CR<T> {
|
||||
<S extends T> S save(S var1);
|
||||
<S extends T> List<S> save(Iterable<S> var1);
|
||||
}
|
||||
Reference in New Issue
Block a user