type inference: super bounds promotion corrected (IDEA-55718)

This commit is contained in:
anna
2010-07-19 17:10:52 +04:00
parent 183d248e7d
commit 232cc27726
3 changed files with 20 additions and 0 deletions
@@ -0,0 +1,16 @@
public class ExampleProblem {
<T> void asserting(T t, Simple<T> l){
}
<K> Simple<? super K> comp(K k){
return null;
}
public void main(String[] args) {
asserting(0, comp(0));
}
}
class Simple<SST>{
}