KT-5087 Private members of Java classes should be marked as invisible, not unresolved
#KT-5087 fixed
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
package test;
|
||||
|
||||
public class PrivateMembersInHierarchy {
|
||||
public static class Super {
|
||||
private int field = 1;
|
||||
private int field2 = 1;
|
||||
|
||||
private void method() {
|
||||
}
|
||||
}
|
||||
|
||||
public static class Sub extends Super {
|
||||
private int field = 1;
|
||||
|
||||
private void method() {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user