Re: Solving multiple termination bugs - summary & proposal
Posted by
Jaromir Matas on
May 12, 2021; 11:47am
URL: https://forum.world.st/Solving-multiple-termination-bugs-summary-proposal-tp5128285p5129645.html
Hi Christoph, hi all,
I've added a tweak to #cannotReturn: that would make sure the method won't
return to the block that attempted an illegal non-local return. This would
prevent crashing the image/VM when accidentally pressing Proceed or stepping
over it. #terminate can take an advantage of this improvement as well - it'd
be able to safely deal with illegal non-local returns and continue
unwinding.
The latest version of #terminate is enclosed and in the Inbox here:
http://forum.world.st/The-Inbox-Kernel-jar-1405-mcz-td5129644.htmlThanks for reviewing/commenting.
Fix_terminate_v6.cs <
http://forum.world.st/file/t372955/Fix_terminate_v6.cs>
best,
-----
^[^ Jaromir
--
Sent from:
http://forum.world.st/Squeak-Dev-f45488.html
^[^ Jaromir