testdata for IDEA-106985

This commit is contained in:
Anna Kozlova
2014-09-04 15:07:13 +04:00
parent 17b77be48b
commit 8e353cebff
5 changed files with 45 additions and 1 deletions
@@ -0,0 +1,15 @@
import java.util.Map;
class Test {
public static void main(String[] args) {
Map<Integer, Object> map = <error descr="Inferred type 'java.lang.Object' for type parameter 'V' is not within its bound; should implement 'java.lang.Comparable'">make()</error>;
}
public static <K extends Comparable, V extends Comparable> Map<K,V> make() {
return null;
}
}