[Pharo-project] Enhancing SmalltalkImage>>recreateSpecialObjectsArray to lower coupling

Guillermo Polito guillermopolito at gmail.com
Sun Mar 18 20:46:12 EDT 2012


What about changing #recreateSpecialObjectsArray so having in mind some
classes like Bitmap or Display may not be in the kernel?
This only changes some lines like:

...
    newArray at: 5 put: (self at: #Bitmap ifAbsent: [ nil ]).

...

    newArray at: 13 put: (self at: #Point ifAbsent: [ nil ]).

...

    newArray at: 15 put: (self at:  #Display ifAbsent: [ nil ]).

...

    newArray at: 34 put: (self at: #Point ifPresent: [ :cls | 0 at 0]
ifAbsent: [ nil ]).


Does anyone know if this should this break something?

Guille
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pharo.org/pipermail/pharo-dev_lists.pharo.org/attachments/20120318/ea5a67ae/attachment-0001.html>


More information about the Pharo-dev mailing list