testdata for IDEA-58692

This commit is contained in:
Anna Kozlova
2014-05-31 20:36:05 +04:00
parent af3e41334d
commit b1b3964fee
2 changed files with 21 additions and 0 deletions
@@ -0,0 +1,20 @@
class ExposeAnotherProblem {
class OneClass<T> {
public T get(){
return null;
}
}
class AnotherClass<T> {}
static <T, R extends OneClass<T>> R method1(AnotherClass<T> param) {
return null;
}
<E> E method2(AnotherClass<E> param){
return method1(param).get();
}
}