« Bugzilla Issues Index

#1219 — -- what do internal methods have access to

says "an internal method always has access to the object upon which it is invoked as a method."

Excellent specifying what internal methods have access to. Is there are way to leverage this to specify what they do not have access to? Or “not, unless otherwise specified”? That would be awesome.

The quote line is in the context discussing the signature specification used for internal methods and is really just saying that the self value of an internal method invocation is always an implicit parameter.

I'm not sure what you have in mind saying about things that are not accessible. All specified internal method implementation are in the spec. so they can be examined to see what they do or don't access.

Are there some restrictions you want to place upon implementation specific internal methods?