[squeak-dev] The Inbox: Kernel-ct.1406.mcz

commits at source.squeak.org commits at source.squeak.org
Sat May 15 19:53:54 UTC 2021


A new version of Kernel was added to project The Inbox:
http://source.squeak.org/inbox/Kernel-ct.1406.mcz

==================== Summary ====================

Name: Kernel-ct.1406
Author: ct
Time: 15 May 2021, 9:53:50.156138 pm
UUID: 8d0523c3-281e-7c44-bff5-8d5c69646c62
Ancestors: Kernel-nice.1402

Fixes a typo in Context >> #d?sarmHandler. Normally I would not have spammed the inbox with minor changes like this one, but me as a non-native speaker was actually confused about the term "desarm" before consulting a dictionary. :-)

=============== Diff against Kernel-nice.1402 ===============

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