The Trunk: Kernel-ct.1683.mcz
| Newsgroups | gmane.comp.lang.smalltalk.squeak.general |
|---|---|
| Message-ID | <[email protected]> |
Christoph Thiede uploaded a new version of Kernel to project The Trunk: http://source.squeak.org/trunk/Kernel-ct.1683.mcz ==================== Summary ==================== Name: Kernel-ct.1683 Author: ct Time: 6 May 2026, 8:57:20.354172 pm UUID: 9116d774-36b1-4754-8a56-2f19345cd7d4 Ancestors: Kernel-ct.1682 Complements 61Deprecated-ct.26 (merges and revises BrokenPromise-compat to add backward compatibility for BrokenPromise). =============== Diff against Kernel-ct.1682 =============== Item was changed: ----- Method: Promise>>signalErrorValue (in category 'waiting') ----- signalErrorValue + "Backward compatibility." + (Smalltalk at: #BrokenPromise) ifNotNil: [:exceptionClass | + | result | + result := (exceptionClass new promise: self; signal). + result = #ignored ifFalse: [^ result]]. + (errorValue isKindOf: Exception) ifTrue: [errorValue signal] ifFalse: [self error: 'Promise rejected']! Squeak-dev mailing list -- [email protected] To unsubscribe send an email to [email protected]