IDEA-238526 Wrong compilation error reported when anonymous class is defined inside private interface method

GitOrigin-RevId: cc0f0ec45152c1923836d6eee770b15685bf15e1
This commit is contained in:
Tagir Valeev
2020-04-23 06:06:05 +00:00
committed by intellij-monorepo-bot
parent 7016d3be67
commit 788e8bbed1
4 changed files with 19 additions and 6 deletions
@@ -0,0 +1,10 @@
interface Foo {
private void bar() {
new Runnable() {
@Override
public void run() {
System.out.println(Foo.this);
}
};
}
}