IDEA-137013 InstanceOf checking leads to appearing redundant completion item while smart double-completion

This commit is contained in:
peter
2015-10-26 12:32:21 +01:00
parent 7156a9cd06
commit 1858564abc
3 changed files with 59 additions and 6 deletions
@@ -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";
}
}