graph inference: accept raw inference when return type was erased (IDEA-119844)

This commit is contained in:
Anna Kozlova
2014-01-27 19:59:24 +04:00
parent c8e5698c54
commit 88c7770258
3 changed files with 23 additions and 0 deletions
@@ -0,0 +1,16 @@
import java.util.List;
public class Bug
{
void foo(List<I> futures, I1<Object> callable){
futures.add(submit(callable));
}
<T> I<T> submit(I1<T> task){
return null;
}
interface I<TI>{}
interface I1<TI2>{}
}