mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 08:45:34 +07:00
diamonds: don't accept inferred types when error appeared during inference (IDEA-154619)
This commit is contained in:
+13
@@ -0,0 +1,13 @@
|
||||
// "Change 1st parameter of method 'foo' from 'ArrayList<String>' to 'HashSet<E>'" "false"
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashSet;
|
||||
|
||||
class InspecitonIssue {
|
||||
|
||||
void foo(ArrayList<String> lst) {}
|
||||
|
||||
void bar() {
|
||||
foo(new Hash<caret>Set<>());
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user