mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-25 14:25:04 +07:00
better type inference for smart completing nested generic method call arguments (IDEA-74749)
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
import java.util.List;
|
||||
|
||||
public class Zoo2 {
|
||||
<T> void assertThat(T t, List<T> tt) { }
|
||||
<T> List<T> wrap(T t) { }
|
||||
|
||||
public void main(String[] args) {
|
||||
assertThat(args, wrap(args)<caret>);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
import java.util.List;
|
||||
|
||||
public class Zoo2 {
|
||||
<T> void assertThat(T t, List<T> tt) { }
|
||||
<T> List<T> wrap(T t) { }
|
||||
|
||||
public void main(String[] args) {
|
||||
assertThat(args, wrap(<caret>));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user