We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Consider the following:
class C { private foo def getFoo() { foo } } class D extends C { } def obj = new D() obj.foo = null print(obj.foo)
The property "foo" is read-only. "obj.foo = null" should not infer as the provate field from C. This is confirmed by running the script:
C
ReadOnlyPropertyException: Cannot set readonly property: foo for class: D
The text was updated successfully, but these errors were encountered:
Fix for #1559: reduce confidence of private members of other type access
ff3e9da
Sorry, something went wrong.
eric-milles
No branches or pull requests
Consider the following:
The property "foo" is read-only. "obj.foo = null" should not infer as the provate field from
C
. This is confirmed by running the script:The text was updated successfully, but these errors were encountered: