[squeak-dev] The Trunk: Kernel-mt.1240.mcz

commits at source.squeak.org commits at source.squeak.org
Fri Jun 7 07:12:07 UTC 2019


Marcel Taeumel uploaded a new version of Kernel to project The Trunk:
http://source.squeak.org/trunk/Kernel-mt.1240.mcz

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

Name: Kernel-mt.1240
Author: mt
Time: 7 June 2019, 9:12:01.366409 am
UUID: dd6c5483-af4c-7f4c-b7cf-05fcf73a3c47
Ancestors: Kernel-mt.1239

Extends commentary to point to #cull:.

=============== Diff against Kernel-mt.1239 ===============

Item was changed:
  ----- Method: BlockClosure>>valueWithPossibleArgument: (in category 'evaluating') -----
  valueWithPossibleArgument: anArg 
+ 	"Evaluate the block represented by the receiver. If the block requires one argument, use anArg, if it requires more than one, fill up the rest with nils. See also #cull: if you want to raise an exception for incompatible blocks instead."
- 	"Evaluate the block represented by the receiver. 
- 	 If the block requires one argument, use anArg, if it requires more than one,
- 	 fill up the rest with nils."
  
  	| a |
  	numArgs = 0 ifTrue: [^self value].
  	numArgs = 1 ifTrue: [^self value: anArg].
  	a := Array new: numArgs.
  	a at: 1 put: anArg.
  	^self valueWithArguments: a!



More information about the Squeak-dev mailing list