mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
switch context when get to anonymous class so access to the inherited members should not be raised as a conflict; super expression
This commit is contained in:
+1
@@ -6,6 +6,7 @@ public class B {
|
||||
void method2Move() {
|
||||
new A.I() {
|
||||
{
|
||||
super.foo();
|
||||
foo();
|
||||
A.bar();
|
||||
}
|
||||
|
||||
+1
@@ -4,6 +4,7 @@ public class A extends B {
|
||||
void method2Move() {
|
||||
new I() {
|
||||
{
|
||||
super.foo();
|
||||
foo();
|
||||
bar();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user