The Inbox: Kernel-ct.1364.mcz

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

The Inbox: Kernel-ct.1364.mcz

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