[squeak-dev] The Trunk: Monticello-eem.671.mcz

commits at source.squeak.org commits at source.squeak.org
Fri Jun 23 19:00:13 UTC 2017


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

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

Name: Monticello-eem.671
Author: eem
Time: 23 June 2017, 12:00:04.919919 pm
UUID: 613ff672-9e8e-4f59-888b-1fa63a0c959c
Ancestors: Monticello-nice.670

Reimplement allAncestorsDo:visitedAncestors: using ifAbsentAdd:

=============== Diff against Monticello-nice.670 ===============

Item was changed:
  ----- Method: MCAncestry>>allAncestorsDo:visitedAncestors: (in category 'ancestry') -----
  allAncestorsDo: aBlock visitedAncestors: visitedAncestors
  	self ancestors do: [ :each |
+ 		(visitedAncestors ifAbsentAdd: each) ifTrue: [
- 		(visitedAncestors addNewElement: each) ifTrue: [
  			aBlock value: each.
  			each allAncestorsDo: aBlock visitedAncestors: visitedAncestors ] ]!



More information about the Squeak-dev mailing list