[squeak-dev] The Trunk: Kernel-eem.472.mcz

commits at source.squeak.org commits at source.squeak.org
Wed Jul 7 18:53:43 UTC 2010


Eliot Miranda uploaded a new version of Kernel to project The Trunk:
http://source.squeak.org/trunk/Kernel-eem.472.mcz

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

Name: Kernel-eem.472
Author: eem
Time: 7 July 2010, 11:53:07.243 am
UUID: 6c1ef6ed-4b21-4887-9c13-7ed690069f0e
Ancestors: Kernel-eem.471

yet another snafu for BlockClosure>>value.

=============== Diff against Kernel-eem.471 ===============

Item was changed:
  ----- Method: BlockClosure>>value (in category 'evaluating') -----
  value
  	"Activate the receiver, creating a closure activation (MethodContext)
  	 whose closure is the receiver and whose caller is the sender of this
  	 message. Supply the copied values to the activation as its copied
  	 temps. Primitive. Essential."
  	<primitive: 201>
  	| newContext |
+ 	numArgs ~= 0 ifTrue:
+ 		[self numArgsError: 0].
- 	numArgs ~= 1 ifTrue:
- 		[self numArgsError: 1].
  	false
  		ifTrue: "Old code to simulate the closure value primitive on VMs that lack it."
  			[newContext := self asContextWithSender: thisContext sender.
  			thisContext privSender: newContext]
  		ifFalse: [self primitiveFailed]!




More information about the Squeak-dev mailing list