[squeak-dev] The Trunk: System-ul.926.mcz

commits at source.squeak.org commits at source.squeak.org
Mon Feb 27 01:26:02 UTC 2017


Levente Uzonyi uploaded a new version of System to project The Trunk:
http://source.squeak.org/trunk/System-ul.926.mcz

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

Name: System-ul.926
Author: ul
Time: 27 February 2017, 2:25:48.914916 am
UUID: e86b75db-f12d-4172-b640-4574322ea818
Ancestors: System-dtl.925

- omit ifAbsent from #index* sends when the default value, 0 would used

=============== Diff against System-dtl.925 ===============

Item was changed:
  ----- Method: SmalltalkImage>>renamedClass:from:to: (in category 'classes and traits') -----
  renamedClass: aClass from: oldName to: newName
  	"Inform Smalltalk that aClass has been renamed"
  	(Array with: StartUpList with: ShutDownList) do:[:list | | index |  
+ 		index := list indexOf: oldName.
- 		index := list indexOf: oldName ifAbsent: [0].
  		index > 0 ifTrue: [list at: index put: newName].
  	].
  !



More information about the Squeak-dev mailing list