On Wed, Dec 14, 2011 at 2:34 AM, Igor Stasenko <siguctua@gmail.com> wrote:
Stephane, remember we changed a name lookup for classes not long ago. IIRC we changed the #bindingOf: So, i think that #sharedPools should answer a list of all pools of all classes in inheritance chain, which can be implemented like:
sharedPools
^ superclass ifNil: [ self localSharedPools ] ifNotNil: [ self localSharedPools , superclass sharedPools ]
mmmmmmm if you follow must of the existing methods similar to this one, I would understand that #sharedPools answers ONLY the localSharedPools and I would undertand there is a message #allSharedPools which answer what you are saying.
note, that order (self localSharedPools , superclass sharedPools) are important, because pool in a subclass can shadow a pool variable defined in superclass.
-- Best regards, Igor Stasenko.
-- Mariano http://marianopeck.wordpress.com