mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 07:20:53 +07:00
inline method: do not conflict inline super expr inside inner class
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
public class Usage {
|
||||
void foo() {
|
||||
b<caret>ar();
|
||||
}
|
||||
|
||||
void bar() {
|
||||
new W() {
|
||||
protected void www() {
|
||||
super.www();
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
class W {
|
||||
protected void www() {}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
public class Usage {
|
||||
void foo() {
|
||||
new W() {
|
||||
protected void www() {
|
||||
super.www();
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
class W {
|
||||
protected void www() {}
|
||||
}
|
||||
Reference in New Issue
Block a user