mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-03 15:50:52 +07:00
non-static members access from implicitly static context fixed (IDEA-108285)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
interface Bazz {
|
||||
Bazz foo = <error descr="Cannot find symbol variable this">Bazz.this</error>;
|
||||
Bazz foo = <error descr="'Bazz.this' cannot be referenced from a static context">Bazz.this</error>;
|
||||
static void foo1() {
|
||||
Bazz foo = <error descr="'Bazz.this' cannot be referenced from a static context">Bazz.this</error>;
|
||||
}
|
||||
@@ -7,7 +7,7 @@ interface Bazz {
|
||||
Runnable bar = new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
Bazz f = <error descr="Cannot find symbol variable this">Bazz.this</error>;
|
||||
Bazz f = <error descr="'Bazz.this' cannot be referenced from a static context">Bazz.this</error>;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user