mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-10 13:17:09 +07:00
diamonds: forbid diamonds completion with inapplicable inferred types (IDEA-73068)
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
import java.util.ArrayList;
|
||||
|
||||
public class CompletionWithPassToMethod {
|
||||
|
||||
public static void main(String[] args) {
|
||||
foo(new ArrayList<String>());
|
||||
}
|
||||
|
||||
|
||||
static void foo(ArrayList<String> ll) {
|
||||
}
|
||||
}
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
import java.util.ArrayList;
|
||||
|
||||
public class CompletionWithPassToMethod {
|
||||
|
||||
public static void main(String[] args) {
|
||||
foo(new ArrayL<caret>);
|
||||
}
|
||||
|
||||
|
||||
static void foo(ArrayList<String> ll) {
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user