The Trunk: Kernel-eem.1354.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: Kernel-eem.1354.mcz

commits-2
Eliot Miranda uploaded a new version of Kernel to project The Trunk:
http://source.squeak.org/trunk/Kernel-eem.1354.mcz

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

Name: Kernel-eem.1354
Author: eem
Time: 27 October 2020, 7:12:42.644138 pm
UUID: 0e8cc5f2-05b0-483a-9d7a-b06d376c1d00
Ancestors: Kernel-mt.1353

Have Cotext>>swapReceiver: do what it says it will (c.f. swapSender:).  Change the one sender not to reply on it; Context>>restartWithNewReceiver: can simply assign to receiver directly with the new Context design.

=============== Diff against Kernel-mt.1353 ===============

Item was changed:
  ----- Method: Context>>restartWithNewReceiver: (in category 'private-exceptions') -----
  restartWithNewReceiver: obj
+ receiver := obj.
+ self restart!
-
- self
- swapReceiver: obj;
- restart!

Item was changed:
  ----- Method: Context>>swapReceiver: (in category 'private-exceptions') -----
  swapReceiver: r
+ | oldReceiver |
+ oldReceiver := receiver.
+ receiver := r.
+ ^oldReceiver!
-
- receiver := r!