<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Hi Denis,<br></div><div><br>On Mar 17, 2016, at 1:57 AM, Denis Kudriashov &lt;<a href="mailto:dionisiydk@gmail.com">dionisiydk@gmail.com</a>&gt; wrote:<br><br></div><blockquote type="cite"><div><span></span></div></blockquote><blockquote type="cite"><div><div dir="ltr">Hi.<div><br></div><div>I investigate that #becomeForward: is not working for SmallInteger args. It is mentioned in method comment:</div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Fails if either argument is a SmallInteger.</blockquote></blockquote><div><br></div><div>I guess that it is not working for any immediate argument. For example it is failed for Character too.</div><div><br></div><div>So I am interesting why it is not supported?</div></div>
</div></blockquote><div><br></div>It's a lazy coding bug. &nbsp;Both arrays get checked for validity. &nbsp;The thing that gets becommed can never be an immediate (you can't do 3 becomeForward: nil etc), even though the other way round makes sense. &nbsp;So the same routine us used to check both arrays and that fails the primitive. &nbsp;I'll fix it soon.<br><div><span style="background-color: rgba(255, 255, 255, 0);"><br>_,,,^..^,,,_ (phone)</span></div></body></html>