resolve package/class if field is not accessible in fqn method call (IDEA-133812)

This commit is contained in:
Anna Kozlova
2014-12-03 12:53:07 +01:00
parent 5b0413e2c3
commit 3ea5b44100
3 changed files with 13 additions and 1 deletions
@@ -0,0 +1,11 @@
class C {
private int id;
}
class A extends C {
{
<error descr="Cannot resolve symbol 'id'">id</error>.MyObject.fromInt(1);
<error descr="'id' has private access in 'C'">id</error>.MyObject o;
}
}