>> - The fact that compiled methods are stored in the model is very
>> dangerous. You might hold onto compiled methods that have long been
>> replaced with other ones. Just by playing a bit with the model I run
>> into that situation (I don't know how). I think just keeping the
>> selector internally would be much safer and solve all kinds of
>> troubles (exactly like this is done for the classes). You'll have to
>> check anyway if the method is still present when you iterate over the
>> methods. A single use of #doSilently: (and there are lots of them in
>> the image) can completely screw up the complete package model.
>
> The model does not store compiled methods, or classes. It only stores
> symbols.

True, sorry about that. I did not open the inspector wide enough and I
somehow made that conclusion from the public API :-)

Lukas

-- 
Lukas Renggli
http://www.lukas-renggli.ch

_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to