[squeak-dev] Global variable lookup
Bert Freudenberg
bert at freudenbergs.de
Fri Jan 11 18:28:20 UTC 2013
(reposting as separate thread)
I do wonder why Class>>bindingOf:environment: looks into the environment first, however. This means that a global variable would shadow an inherited class variable or pool variable, which is against my intuition of how scoping works. Does anyone know why this would be intended?
- Bert -
More information about the Squeak-dev
mailing list
|