The Trunk: Environments-bf.23.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: Environments-bf.23.mcz

commits-2
Bert Freudenberg uploaded a new version of Environments to project The Trunk:
http://source.squeak.org/trunk/Environments-bf.23.mcz

==================== Summary ====================

Name: Environments-bf.23
Author: bf
Time: 10 April 2013, 3:30:29.476 pm
UUID: 92aaf91c-fb32-4933-8e54-187a03b7e35e
Ancestors: Environments-nice.22

When deleting a class, remove it from imports and exports, too.

=============== Diff against Environments-nice.22 ===============

Item was added:
+ ----- Method: BindingPolicy>>forgetName: (in category 'private') -----
+ forgetName: aSymbol
+ self name: aSymbol do: [:foreign |
+ namespace removeKey: foreign ifAbsent: [
+ next ifNotNil: [next forgetName: aSymbol]]].!

Item was changed:
  ----- Method: Environment>>forgetClass:logged: (in category 'classes and traits') -----
  forgetClass: aClass logged: aBool
  aBool ifTrue:
  [SystemChangeNotifier uniqueInstance
  classRemoved: aClass fromCategory: aClass category].
  self organization removeElement: aClass name.
  Smalltalk removeFromStartUpList: aClass.
  Smalltalk removeFromShutDownList: aClass.
+ imports forgetName: aClass name.
+ exports forgetName: aClass name.
  contents removeKey: aClass name ifAbsent: [].
  bindings removeKey: aClass name ifAbsent: [].!


Reply | Threaded
Open this post in threaded view
|

Re: The Trunk: Environments-bf.23.mcz

Frank Shearar-3
On 10 April 2013 23:33,  <[hidden email]> wrote:

> Bert Freudenberg uploaded a new version of Environments to project The Trunk:
> http://source.squeak.org/trunk/Environments-bf.23.mcz
>
> ==================== Summary ====================
>
> Name: Environments-bf.23
> Author: bf
> Time: 10 April 2013, 3:30:29.476 pm
> UUID: 92aaf91c-fb32-4933-8e54-187a03b7e35e
> Ancestors: Environments-nice.22
>
> When deleting a class, remove it from imports and exports, too.
>
> =============== Diff against Environments-nice.22 ===============

I can't speak to its theoretical correctness, but this does fix up a
whole bunch of failing tests. Thanks!

frank