mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
method duplicates: correctly process qualifiers (IDEA-79954)
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
class Utilz {
|
||||
static int func(){
|
||||
return 1;
|
||||
}
|
||||
|
||||
static int foo1(){
|
||||
return 2*Utilz.func();
|
||||
}
|
||||
|
||||
static int fo<caret>o2(){
|
||||
return 2*func();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
class Something {
|
||||
Something(){
|
||||
int x = 2*Utilz.func();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
class Utilz {
|
||||
static int func(){
|
||||
return 1;
|
||||
}
|
||||
|
||||
static int foo1(){
|
||||
return foo2();
|
||||
}
|
||||
|
||||
static int foo2(){
|
||||
return 2*func();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
class Something {
|
||||
Something(){
|
||||
int x = Utilz.foo2();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user