[squeak-dev] The Inbox: Kernel-ct.1408.mcz
commits at source.squeak.org
commits at source.squeak.org
Sat Jul 17 18:21:06 UTC 2021
A new version of Kernel was added to project The Inbox:
http://source.squeak.org/inbox/Kernel-ct.1408.mcz
==================== Summary ====================
Name: Kernel-ct.1408
Author: ct
Time: 17 July 2021, 8:21:02.006197 pm
UUID: 0b59b2d7-2dfe-6640-bc29-63e35699bc53
Ancestors: Kernel-mt.1406
Proposal: Show nested exception in the description of BrokenPromise.
=============== Diff against Kernel-mt.1406 ===============
Item was changed:
+ ----- Method: BrokenPromise>>defaultAction (in category 'priv handling') -----
- ----- Method: BrokenPromise>>defaultAction (in category 'as yet unclassified') -----
defaultAction
self messageText: 'Promise was rejected'.
^super defaultAction!
Item was added:
+ ----- Method: BrokenPromise>>description (in category 'accessing') -----
+ description
+
+ ^ String streamContents: [:stream |
+ stream nextPutAll: super description.
+ self exception ifNotNil: [:ex |
+ stream
+ nextPutAll: ': ';
+ nextPutAll: ex description]]!
Item was added:
+ ----- Method: BrokenPromise>>exception (in category 'accessing') -----
+ exception
+
+ ^ promise ifNotNil: [promise error]!
Item was changed:
+ ----- Method: BrokenPromise>>isResumable (in category 'priv handling') -----
- ----- Method: BrokenPromise>>isResumable (in category 'as yet unclassified') -----
isResumable
^ true!
Item was changed:
+ ----- Method: BrokenPromise>>promise (in category 'accessing') -----
- ----- Method: BrokenPromise>>promise (in category 'as yet unclassified') -----
promise
^ promise!
Item was changed:
+ ----- Method: BrokenPromise>>promise: (in category 'accessing') -----
- ----- Method: BrokenPromise>>promise: (in category 'as yet unclassified') -----
promise: aPromise
promise := aPromise!
More information about the Squeak-dev
mailing list
|