[squeak-dev] The Trunk: Kernel-nice.1466.mcz
commits at source.squeak.org
commits at source.squeak.org
Fri May 6 14:43:58 UTC 2022
Nicolas Cellier uploaded a new version of Kernel to project The Trunk:
http://source.squeak.org/trunk/Kernel-nice.1466.mcz
==================== Summary ====================
Name: Kernel-nice.1466
Author: nice
Time: 6 May 2022, 4:43:35.743501 pm
UUID: fe23d949-2d52-9849-a257-9af7abec221e
Ancestors: Kernel-nice.1465, Kernel-ct.1406
Merge Kernel-ct.1406 (correct frenchism desarmHandler -> disarmHandler)
=============== Diff against Kernel-nice.1465 ===============
Item was removed:
- ----- Method: Context>>desarmHandler (in category 'private-exceptions') -----
- desarmHandler
- "Private - sent to exception handler context only (on:do:)"
-
- stackp >= 4 ifTrue: [self tempAt: 4 put: false] "this is temporary handlerRearmed in #on:do:"!
Item was added:
+ ----- Method: Context>>disarmHandler (in category 'private-exceptions') -----
+ disarmHandler
+ "Private - sent to exception handler context only (on:do:)"
+
+ stackp >= 4 ifTrue: [self tempAt: 4 put: false] "this is temporary handlerRearmed in #on:do:"!
Item was changed:
----- Method: Context>>rearmHandlerDuring: (in category 'private-exceptions') -----
rearmHandlerDuring: aBlock
"Sent to handler (on:do:) contexts only. Makes me re-entrant for the duration of aBlock. Only works in a closure-enabled image"
^ [self rearmHandler. aBlock value]
+ ensure: [self disarmHandler]!
- ensure: [self desarmHandler]!
More information about the Squeak-dev
mailing list
|