The Trunk: Monticello-eem.671.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: Monticello-eem.671.mcz

commits-2
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 ] ]!