2010/3/9 Mariano Martinez Peck <marianopeck@gmail.com>:
On Tue, Mar 9, 2010 at 10:40 PM, Stéphane Ducasse <stephane.ducasse@inria.fr> wrote:
11255 -----
- added tests for the compiler to test shadowing of self, super, thisContext, true, false and nil. Thanks guys - we know you :)
- Issue 2086:  Introduce a cleanUp/cleanUp: protocol from squeak / keith idea!     MyClass class>>cleanUp: aggressive     This (class-side) method is called with an argument that indicates whether to do aggressive, i.e., potentially destructive cleanup. Doing aggressive cleanup will delete projects, change sets, uni-classes and more. Gentle cleanup is expected to only flush transient caches. If your class only has gentle cleanup you can simply implement
   MyClass class>>cleanUp
By default #cleanUp: delegates to this method (similar to startUp/startUp: and shutDown/shutDown:). You can run cleanup by executing:
   Smalltalk cleanUp.    Smalltalk cleanUp: true.
It seems there is a problem as cleanUp or cleanUp: are implemented in SmalltalkImage but not in SystemDictionary...so evaluating
   Smalltalk cleanUp.    Smalltalk cleanUp: true.
gives a DNU.
Yep, in trunk Smalltalk class = SmalltalkImage, so it just works Maybe pharo want this change too ? Nicolas
Another question....wouldn't be a good idea to add at least a "Smalltalk cleanUp. " in ScriptLoader >> cleanUpForRelease  ??? or similar....
Cheers
Mraiano
Thanks luc for your analysis. After lunch in hot room is never that good for my brain :)
Stef _______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project