Marcel Taeumel uploaded a new version of Protocols to project The Trunk:
http://source.squeak.org/trunk/Protocols-mt.76.mcz==================== Summary ====================
Name: Protocols-mt.76
Author: mt
Time: 14 October 2020, 2:05:41.702569 pm
UUID: 7a5022c3-e515-344b-a533-fa5ae555aed7
Ancestors: Protocols-mt.75
Rename #doWithIndex: to #withIndexDo:. See
http://forum.world.st/The-Inbox-60Deprecated-ct-80-mcz-td5120706.html=============== Diff against Protocols-mt.75 ===============
Item was changed:
----- Method: MethodInterface>>printOn: (in category 'printing') -----
printOn: aStream
"print the receiver on a stream. Overridden to provide details about wording, selector, result type, and companion setter."
super printOn: aStream.
aStream nextPutAll: ' - wording: ';
print: self wording;
nextPutAll: ' selector: ';
print: selector.
self argumentVariables size > 0 ifTrue:
[aStream nextPutAll: ' Arguments: '.
+ argumentVariables withIndexDo:
- argumentVariables doWithIndex:
[:aVariable :anIndex |
aStream nextPutAll: 'argument #', anIndex printString, ' name = ', aVariable variableName asString, ', type = ', aVariable variableType]].
resultSpecification ifNotNil:
[aStream nextPutAll: ' result type = ', resultSpecification resultType asString.
resultSpecification companionSetterSelector ifNotNil:
[aStream nextPutAll: ' setter = ', resultSpecification companionSetterSelector asString]]
!