mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-25 14:25:04 +07:00
graph inference: take into account present type args during graph inference (IDEA-103023)
(cherry picked from commit e9e05d9d47210f6e315cef233f8b5b33192df7fc)
This commit is contained in:
+10
@@ -0,0 +1,10 @@
|
||||
import java.util.*;
|
||||
public class DiamondTest {
|
||||
|
||||
public <U> void foo(ArrayList<U> p) {}
|
||||
|
||||
public void test() {
|
||||
DiamondTest diamondTest = new DiamondTest();
|
||||
diamondTest.<Integer>foo(new ArrayList<>(3));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user