Marcel Taeumel uploaded a new version of Kernel to project The Trunk: http://source.squeak.org/trunk/Kernel-jr.1532.mcz
==================== Summary ====================
Name: Kernel-jr.1532 Author: jr Time: 9 November 2023, 3:08:48.989163 pm UUID: 5af29860-7431-0b48-b551-f59dcc85b3b8 Ancestors: Kernel-dtl.1531
Future evaluations should not catch exceptions that are not supposed to be caught or not meant to abort any control flow. This includes Notifications such as CurrentReadOnlySourceFiles.
=============== Diff against Kernel-dtl.1531 ===============
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