mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-26 19:06:24 +07:00
IDEA-137013 InstanceOf checking leads to appearing redundant completion item while smart double-completion
This commit is contained in:
+17
@@ -0,0 +1,17 @@
|
||||
class Test {
|
||||
public void test(A test) {
|
||||
if (test instanceof B) {
|
||||
String s = <caret>
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
interface A {
|
||||
String test();
|
||||
}
|
||||
|
||||
class B implements A {
|
||||
public String test() {
|
||||
return "test";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user