You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
abstractclassA {
def v
private w
public x
protected y
@PackageScope z
// getV() is implicitdefgetW() { w }
defgetX() { x }
defgetY() { y }
defgetZ() { z }
}
classCextends A {
voidtest() {
super.v
super.x
super.y
super.z
}
}
References "x", "y" and "z" in C should refer to the field, according to current compiler implementation, but are shown to refer to the getter/setter instead.
The text was updated successfully, but these errors were encountered:
Consider the following:
References "x", "y" and "z" in C should refer to the field, according to current compiler implementation, but are shown to refer to the getter/setter instead.
The text was updated successfully, but these errors were encountered: