mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-09 20:42:52 +07:00
IDEA-178535 Duplicate class suggestions in cast
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
class X {
|
||||
void foo(Object o){
|
||||
if (o instanceof Foo) {
|
||||
((Foo<caret>) o).bar();
|
||||
}
|
||||
}
|
||||
|
||||
class Foo {
|
||||
void bar() {}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user