Marcel Taeumel uploaded a new version of Kernel to project The Trunk: http://source.squeak.org/trunk/Kernel-mt.1534.mcz
==================== Summary ====================
Name: Kernel-mt.1534 Author: mt Time: 13 November 2023, 2:01:29.485943 pm UUID: 89fedc17-108b-b145-a33b-9dda33fb8409 Ancestors: Kernel-jar.1532, Kernel-jr.1532
Merge Kernel-jr.1532
=============== Diff against Kernel-jar.1532 ===============
Item was changed: ----- Method: Promise>>fulfillWith:passErrors: (in category 'resolving') ----- fulfillWith: aBlock passErrors: aBoolean "Evaluate aBlock. If it signals an exception, reject this promise with the exception as the argument; if it returns a value [or another Promise], resolve this promise with the result. If aBoolean is true, and an exception is signaled, it is passed out to the caller. If aBoolean is false, signaled exceptions are considered handled after the promise has been rejected." [ self resolveWith: aBlock value ] + on: Error - on: Exception do: [ :ex | + self rejectWith: ex. + aBoolean ifTrue: [ ex pass ] ]! - (ex isKindOf: Halt) - ifTrue: [ex pass] - ifFalse: [ - self rejectWith: ex. - aBoolean ifTrue: [ ex pass ] ]]!
packages@lists.squeakfoundation.org