mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
don't walk cached super methods more than once (red field.getName() problem)
make raw method substitutor apply only to this method
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
interface N1 {
|
||||
String getName();
|
||||
}
|
||||
interface N2 {
|
||||
String getName();
|
||||
}
|
||||
interface NN extends N1 {}
|
||||
|
||||
interface N3 {
|
||||
String getName();
|
||||
}
|
||||
interface VeryNamed extends NN, N2, N3, N1 {}
|
||||
|
||||
class MyClass {
|
||||
|
||||
void foo(VeryNamed f) {
|
||||
f.getNa<ref>me();
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user