[squeak-dev] Re: Instance variable access in superclasses.
Igor Stasenko
siguctua at gmail.com
Wed Nov 26 23:53:46 UTC 2008
Btw, regarding instance variables:
i just stepped on error, when tried to add an instance variable in
superclass while variable with that name already exists in a subclass.
Note, that adding non-conflicting variable name to an existing class
can't be an error.
But because we need to recompile subclasses, we should scan all
subclasses to detect potential naming duplication.
>From user's perspective it looks like he unable to alter a base class
without consulting with subclasses. And this is awfully wrong , of
course :)
--
Best regards,
Igor Stasenko AKA sig.
More information about the Squeak-dev
mailing list
|