[squeak-dev] The Trunk: Environments-dtl.77.mcz

commits at source.squeak.org commits at source.squeak.org
Thu Mar 5 00:20:15 UTC 2020

Nicolas Cellier uploaded a new version of Environments to project The Trunk:

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

Name: Environments-dtl.77
Author: dtl
Time: 20 December 2019, 12:39:42.803984 pm
UUID: 015242d9-b4ac-4abc-a2d3-2e1123587ef3
Ancestors: Environments-eem.76

Fix the uninstall script

=============== Diff against Environments-eem.76 ===============

Item was changed:
  ----- Method: Environment class>>uninstall (in category 'class initialization') -----
  	| globals sysdict |
  	self environment class == self ifFalse: 
  			show: 'Can''t uninstall environments; they''re not currently installed'.
  		^ self].
+ 	globals := Smalltalk globals declarations.
- 	globals := Smalltalk globals instVarNamed: 'contents'.
  	sysdict := SystemDictionary new: globals size.
+ 	globals do: [:ea | sysdict add: ea].
- 	globals associationsDo: [:ea | sysdict add: ea].
  	Smalltalk globals becomeForward: sysdict.!

More information about the Squeak-dev mailing list