[squeak-dev] The Inbox: Kernel-ct.1364.mcz

commits at source.squeak.org commits at source.squeak.org
Thu Nov 12 15:48:32 UTC 2020


A new version of Kernel was added to project The Inbox:
http://source.squeak.org/inbox/Kernel-ct.1364.mcz

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

Name: Kernel-ct.1364
Author: ct
Time: 12 November 2020, 4:48:28.956502 pm
UUID: 564764e7-f95f-8a40-b95a-67241eced1f9
Ancestors: Kernel-eem.1361

Fixes primitive comments in BlockClosure >> (cull:){3,4}.

See http://forum.world.st/The-Trunk-Kernel-eem-1355-mcz-td5124164.html.

=============== Diff against Kernel-eem.1361 ===============

Item was changed:
  ----- Method: BlockClosure>>cull:cull:cull: (in category 'evaluating') -----
  cull: firstArg cull: secondArg cull: thirdArg
  	"Activate the receiver, with three or less arguments."
+ 	<primitive: 204> "Handle the three argument case primitively"
- 	<primitive: 204> "Handle the two argument case primitively"
  	numArgs >= 2 ifTrue: [ 
  		numArgs >= 3 ifTrue: [ ^self value: firstArg value: secondArg value: thirdArg ].
  		^self value: firstArg value: secondArg ].
  	numArgs = 1 ifTrue: [ ^self value: firstArg ].
  	^self value!

Item was changed:
  ----- Method: BlockClosure>>cull:cull:cull:cull: (in category 'evaluating') -----
  cull: firstArg cull: secondArg cull: thirdArg cull: fourthArg
  	"Activate the receiver, with four or less arguments."
+ 	<primitive: 205> "Handle the four argument case primitively"
- 	<primitive: 205> "Handle the two argument case primitively"
  	numArgs >= 3 ifTrue: [
  		numArgs >= 4 ifTrue: [
  			^self value: firstArg value: secondArg value: thirdArg value: fourthArg ].
  		^self value: firstArg value: secondArg value: thirdArg ].
  	numArgs = 2 ifTrue: [ ^self value: firstArg value: secondArg ].	
  	numArgs = 1 ifTrue: [ ^self value: firstArg ].
  	^self value!



More information about the Squeak-dev mailing list