mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 00:11:26 +07:00
eliminate wildcards elimination in flattening intersection types (IDEA-143194); fully follow specification in determining target type - javac would be fixed (JDK-8142876), eclipse already obeys the spec
This commit is contained in:
+13
@@ -0,0 +1,13 @@
|
||||
import java.util.Map;
|
||||
|
||||
class Main {
|
||||
|
||||
public static <T extends Map<? extends String, ? extends String>> T test() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
Map<String, String> m = Main.test();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user