[squeak-dev] The Trunk: Kernel-jcg.438.mcz

commits at source.squeak.org commits at source.squeak.org
Mon Apr 5 07:41:01 UTC 2010

Joshua Gargus uploaded a new version of Kernel to project The Trunk:

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

Name: Kernel-jcg.438
Author: jcg
Time: 5 April 2010, 12:40:23.346 am
UUID: 8d53a86d-8fd5-8c42-9bc7-abea484a3e5d
Ancestors: Kernel-ar.437

Fix embarrassing bug in Promise>>resolveWith:

=============== Diff against Kernel-ar.437 ===============

Item was changed:
  ----- Method: Promise>>resolveWith: (in category 'resolving') -----
  resolveWith: arg
  	"Resolve this promise"
  	mutex critical: [
  		isResolved ifTrue: [self error: 'Promise was already resolved'].
  		value := arg.
  		isResolved := true.
+ 		resolvers ifNotNil: [resolvers do: [:r | self evaluateResolver: r]].
- 		resolvers ifNotNil: [resolvers do: [:r | self evaluateResolver: value]].

More information about the Squeak-dev mailing list