<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
On 10/17/2019 5:35 PM, Phil B wrote:
<blockquote
cite="mid:CAMJMOeiKm9MFcgPgJS6_xPSV5Ku7GyaOmU9VhhawTUGq9wq_=w@mail.gmail.com"
type="cite">
<div dir="ltr">
<div dir="ltr">Juan,</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Thu, Oct 17, 2019 at 1:08
PM Juan Vuletich <<a moz-do-not-send="true"
href="mailto:juan@jvuletich.org">juan@jvuletich.org</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin: 0px 0px 0px
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
<div bgcolor="#ffffff"> Hi Phil,<br>
<br>
On 10/17/2019 2:31 AM, Phil B wrote:<br>
<blockquote type="cite">
<div dir="ltr">
<div>
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin: 0px
0px 0px 0.8ex; border-left: 1px solid rgb(204,
204, 204); padding-left: 1ex;">
<div bgcolor="#ffffff"> My changes do two
things. One is to avoid non local returns in
handler blocks. The other one is about a few
places where you did [ :exception | exception
signal ] as the signal handler. Exceptions can
only be signaled once! I changed them to do [
:exception | exception pass ]. This was
breaking the exception system if the recent
changes were loaded.<br>
</div>
</blockquote>
<div><br>
</div>
<div>1) Would you be opposed to a #nonLocalReturn:
method on Exception? That seems to me a cleaner
and clearer way of doing this. It's also more
consistent with how Exception deals with the
other scenarios.</div>
</div>
</div>
</div>
</blockquote>
<br>
I think #nonLocalReturn: would be ok. Maybe a better name
could be #methodReturn:<br>
<br>
</div>
</blockquote>
<div><br>
</div>
<div>Attached (along with exception recycling). This was too
easy... what did I miss?</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Phil</div>
</div>
</div>
</blockquote>
<br>
Hi Phil,<br>
<br>
I just pushed a change that allows for exception recycling without
an explicit call. The signaling context is reset after handling.<br>
<br>
The change set also adds a couple of preferences to control allowing
of non-local returns in handlers, and the warning shown in the
Transcript.<br>
<br>
Thanks,<br>
<pre class="moz-signature" cols="72">--
Juan Vuletich
<a class="moz-txt-link-abbreviated" href="http://www.cuis-smalltalk.org">www.cuis-smalltalk.org</a>
<a class="moz-txt-link-freetext" href="https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev">https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev</a>
<a class="moz-txt-link-freetext" href="https://github.com/jvuletich">https://github.com/jvuletich</a>
<a class="moz-txt-link-freetext" href="https://www.linkedin.com/in/juan-vuletich-75611b3">https://www.linkedin.com/in/juan-vuletich-75611b3</a>
@JuanVuletich</pre>
</body>
</html>