<div dir="ltr"><div>Oh, sorry! ðŸ˜…</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">El mié., 19 feb. 2020 a las 13:06, Juan Vuletich (<<a href="mailto:juan@jvuletich.org">juan@jvuletich.org</a>>) escribió:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 1/27/2020 8:39 PM, Eric Brandwein via Cuis-dev wrote:<br>
> Hi all,<br>
><br>
> I noticed that there's still a bug with the automatic declaration of <br>
> undeclared variables. In this case it is when saving a method with a <br>
> block that has arguments but not temporaries. For example, if one <br>
> tries to save this method:<br>
><br>
> method<br>
>  Â  Â [ :arg | temp := 2. ^arg + temp].<br>
><br>
> and selects "declare block-local temp" in the PopupMenu that appears, <br>
> a Debugger pops up, because the resulting code is missing the <br>
> temporary declaration pipes like so:<br>
><br>
> method<br>
>  Â  Â [ :arg temp | temp := 2. ^arg + temp].<br>
><br>
> Attached is a fix for this, and the corresponding tests. I hope this <br>
> is the last bug with this.<br>
><br>
> Cheers,<br>
> Eric<br>
<br>
Integrated, thanks!<br>
<br>
Not included your Prueba class, though :P<br>
<br>
Cheers,<br>
<br>
-- <br>
Juan Vuletich<br>
<a href="http://www.cuis-smalltalk.org" rel="noreferrer" target="_blank">www.cuis-smalltalk.org</a><br>
<a href="https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev" rel="noreferrer" target="_blank">https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev</a><br>
<a href="https://github.com/jvuletich" rel="noreferrer" target="_blank">https://github.com/jvuletich</a><br>
<a href="https://www.linkedin.com/in/juan-vuletich-75611b3" rel="noreferrer" target="_blank">https://www.linkedin.com/in/juan-vuletich-75611b3</a><br>
@JuanVuletich<br>
<br>
</blockquote></div>