[squeak-dev] The Trunk: Kernel-mt.1483.mcz
commits at source.squeak.org
commits at source.squeak.org
Wed Jun 22 08:27:30 UTC 2022
Marcel Taeumel uploaded a new version of Kernel to project The Trunk:
http://source.squeak.org/trunk/Kernel-mt.1483.mcz
==================== Summary ====================
Name: Kernel-mt.1483
Author: mt
Time: 22 June 2022, 10:27:26.552465 am
UUID: cbe2e16a-7674-1b49-9c6e-f68c2d11eb94
Ancestors: Kernel-ct.1482
Document specific stepOver bug.
=============== Diff against Kernel-ct.1482 ===============
Item was changed:
----- Method: Context>>return:from: (in category 'instruction decoding') -----
return: value from: aSender
"For simulation. Roll back self to aSender and return value from it. Execute any unwind blocks on the way. ASSUMES aSender is a sender of self"
| newTop |
aSender isDead ifTrue:
[^self send: #cannotReturn: to: self with: {value}].
newTop := aSender sender.
(self findNextUnwindContextUpTo: newTop) ifNotNil:
[:unwindProtectCtxt|
+ self flag: #knownBug. "Cannot #stepOver '^2' in example '[^2] ensure: []'.
+ See http://lists.squeakfoundation.org/pipermail/squeak-dev/2022-June/220975.html"
^self send: #aboutToReturn:through: to: self with: {value. unwindProtectCtxt}].
self releaseTo: newTop.
newTop ifNotNil: [newTop push: value].
^newTop!
More information about the Squeak-dev
mailing list
|