mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-25 14:25:04 +07:00
graph inference: accept raw inference when return type was erased (IDEA-119844)
This commit is contained in:
+16
@@ -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>{}
|
||||
}
|
||||
Reference in New Issue
Block a user