[squeak-dev] The Trunk: Tools-eem.1011.mcz

commits at source.squeak.org commits at source.squeak.org
Fri Oct 30 04:22:02 UTC 2020


Eliot Miranda uploaded a new version of Tools to project The Trunk:
http://source.squeak.org/trunk/Tools-eem.1011.mcz

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

Name: Tools-eem.1011
Author: eem
Time: 29 October 2020, 9:22:00.000467 pm
UUID: ffdfbc30-2976-4a66-bada-49278510b8ba
Ancestors: Tools-tpr.1010

Fix the regression ot Recent Messages in Tools-tpr.1010

=============== Diff against Tools-tpr.1010 ===============

Item was added:
+ ----- Method: RecentMessageSet>>initializeMessageList: (in category 'private') -----
+ initializeMessageList: anArray
+ 	"Initialize my messageList from the given list of MethodReference or string objects.  NB: special handling for uniclasses.
+ 	 Do /not/ replace the elements of anArray if they are already MethodReferences, so as to allow users to construct richer systems, such as differencers between existing and edited versions of code."
+ 	messageList := OrderedCollection new.
+ 	anArray do:
+ 		[:each | each isMethodReference
+ 			ifTrue: [messageList addLast: each]
+ 			ifFalse:
+ 				[ MessageSet
+ 					parse: each 
+ 					toClassAndSelector:
+ 						[ : class : sel | class ifNotNil: [ messageList addLast: (MethodReference class: class selector: sel) ] ] ] ].
+ 	messageListIndex := messageList isEmpty ifTrue: [0] ifFalse: [1].
+ 	contents := String empty!



More information about the Squeak-dev mailing list