El mar, 09-03-2010 a las 22:40 +0100, Stéphane Ducasse escribió:
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.
Thanks luc for your analysis. After lunch in hot room is never that good for my brain :)
Cool, very good. Good to see this implemented at least. Can we then close: http://code.google.com/p/pharo/issues/detail?id=1778 as it appears to me that this solves it. Cheers -- Miguel Cobá http://miguel.leugim.com.mx