[squeak-dev] The Trunk: Balloon-mt.34.mcz

commits at source.squeak.org commits at source.squeak.org
Wed Oct 14 11:54:27 UTC 2020


Marcel Taeumel uploaded a new version of Balloon to project The Trunk:
http://source.squeak.org/trunk/Balloon-mt.34.mcz

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

Name: Balloon-mt.34
Author: mt
Time: 14 October 2020, 1:54:26.358569 pm
UUID: 20b2f591-e848-9540-b64b-525dbaedae9c
Ancestors: Balloon-nice.33

Rename #doWithIndex: to #withIndexDo:. See http://forum.world.st/The-Inbox-60Deprecated-ct-80-mcz-td5120706.html

=============== Diff against Balloon-nice.33 ===============

Item was changed:
  ----- Method: BalloonEngineConstants class>>initializeInstVarNames:prefixedBy: (in category 'pool definition') -----
  initializeInstVarNames: aClass prefixedBy: aString
  
  	| token |
+ 	aClass instVarNames withIndexDo:[:instVarName :index| | value |
- 	aClass instVarNames doWithIndex:[:instVarName :index| | value |
  		token := (aString, instVarName first asUppercase asString, (instVarName copyFrom: 2 to: instVarName size),'Index') asSymbol.
  		value := index - 1.
  		(self bindingOf: token) ifNil:[self addClassVarName: token].
  		(self bindingOf: token) value: value.
  	].
  	token := (aString, aClass name,'Size') asSymbol.
  	(self bindingOf: token) ifNil:[self addClassVarName: token].
  	(self bindingOf: token) value: aClass instSize.!



More information about the Squeak-dev mailing list