this is inaccessible inside interface (IDEA-94986)

This commit is contained in:
anna
2012-11-15 12:52:26 +01:00
parent d9d8e546dd
commit 03ac96800c
3 changed files with 25 additions and 0 deletions
@@ -0,0 +1,8 @@
class C implements A {
C(A a) {}
}
interface A {
A a = new C(<error descr="Cannot find symbol variable this">this</error>);
A a1 = new C(<error descr="Cannot find symbol variable this">this</error>){};
}