-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can we please reach some kind of decision on access #6794
Comments
Imported From: https://issues.scala-lang.org/browse/SI-6794?orig=1 |
@retronym said: |
@paulp said: |
Mike Slinn (mslinn) said: |
@retronym said: |
Mike Slinn (mslinn) said: |
@retronym said: |
Mike Slinn (mslinn) said: Might it still be possible to enhance the documentation to state which modifiers that actually work as per spec, and inform the reader that the other possibilities are undefined? Here are the 8 possibilities I am referring to: protected, protected[packageName], protected[className], protected[this], private, private[packageName], private[className] and private[this]. |
Not 100% sure whether we have this one already:
Edit: Hard to believe but it just wasn't linked #11339 |
If someone adds a question mark to the ticket title, then it can be closed by answering, "No." |
I've tried for years to obtain some clarity here. It is a large tax on users and compiler developers alike that even if people knew and understood what is supposed to work and how it's supposed to work with respect to the 16 permutations of qualified/object private/protected type/value visibility/access - which they don't, myself included - that knowledge would be of limited use because there are so many bugs.
The bugs persist in large part because I lack sufficient information to fix them. It would be wonderful if we could make some forward progress on this somehow. This is a small sample of the set of behaviors which are hard to explain or defend (although I admit to the possibility that all of this is "as specified" since as I said, I am incapable of deriving the intended behavior from the specification.)
The text was updated successfully, but these errors were encountered: