<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jun 26, 2014 at 12:31 PM, Douglas McPherson <span dir="ltr">&lt;<a href="mailto:djm1329@san.rr.com" target="_blank">djm1329@san.rr.com</a>&gt;</span> wrote:<br>
<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"><div style="word-wrap:break-word"><div>The pop-up is a result of a failing test in:</div>
<div><br></div><div>CodeHolder&gt;&gt;</div><div><div>validateMessageSource: sourceString forSelector: aSelector inClass: theClass</div><div><span style="white-space:pre-wrap">        </span>&quot;Check whether there is evidence that method source is invalid&quot;</div>
<div><br></div><div><span style="white-space:pre-wrap">        </span>(theClass newParser parseSelector: sourceString asString) = aSelector</div><div><span style="white-space:pre-wrap">                </span>ifFalse: [self informPossiblyCorruptSource].</div>
</div><div><br></div><div>In my example, the source string is &#39;ba_z ^true&#39;. However, the result of #parseSelector: is #ba but the selector is actually #&#39;ba_z&#39;. So the test fails resulting in &#39;self #informPossiblyCorruptSource&#39;.</div>
<div><br></div><div>However, I can successfully doIt:</div><div>&#39;Bar new ba_z&#39; ==&gt; true  </div><div>meaning that the selector is recognized in this case.</div><div><br></div><div>So, Parser&gt;&gt;#parseSelector doesn&#39;t understand the underscore, but I&#39;m in unfamiliar territory here.</div>
</div></blockquote><div><br></div><div>fixed in Compiler-eem.284</div><div> </div><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">
<div style="word-wrap:break-word"><div><br></div><div>Doug</div><div><br></div><div><br></div><br><div><div class=""><div>On Jun 26, 2014, at 11:08 , Eliot Miranda wrote:</div><br></div><blockquote type="cite"><div dir="ltr">
<br><div class="gmail_extra"><br><br><div class="gmail_quote"><div class="">On Thu, Jun 26, 2014 at 11:05 AM, Eliot Miranda <span dir="ltr">&lt;<a href="mailto:eliot.miranda@gmail.com" target="_blank">eliot.miranda@gmail.com</a>&gt;</span> wrote:<br>

<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"><div dir="ltr">Hi Doug,<div><br></div><div>    this is going to be either Shout or Text&gt;&gt;makeSelectorBoldIn: that need changes, probably the latter.  The latter probably needs to just accept selectors containing underscores.  Shout would need to obey the preference. HTH</div>

</div></blockquote><div><br></div><div>hmmm, this works: &#39;i_contain_underscores ^self&#39; asText makeSelectorBoldIn: UndefinedObject</div><div><br></div><div>So can you show a stack trace?  e.g. by replacing the pop-up with a halt?</div>

<div> </div></div><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"><div dir="ltr">
</div><div class="gmail_extra"><div><div><br><br><div class="gmail_quote"><div class="">On Wed, Jun 25, 2014 at 11:19 PM, Douglas McPherson <span dir="ltr">&lt;<a href="mailto:djm1329@san.rr.com" target="_blank">djm1329@san.rr.com</a>&gt;</span> wrote:<br>


</div><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"><div style="word-wrap:break-word"><div class="">I want to use underscores in the selectors which define external functions, to match the external function name as much as possible. So I checked the preference &quot;allowUnderscoreSelectors&quot;. I can define and use such selectors, however each time I browse a method whose selector has an underscore, I get the attached modal pop-up:<div>


<br></div></div><div> <span>&lt;UserDialogBox.png&gt;</span></div><div class=""><div><br></div><div>This seems to happen in both 4.4 and 4.5. </div><div><br></div><div>Is there something else I am supposed to do to properly enable underscores in selectors?</div>


<div><br></div><div>Thanks,</div><div>Doug </div></div></div><br><br>
<br></blockquote></div><br><br clear="all"><span class=""><font color="#888888"><div><br></div></font></span></div></div><span class=""><font color="#888888"><span><font color="#888888">-- <br>best,<div>Eliot</div>
</font></span></font></span></div><span class=""><font color="#888888">
</font></span></blockquote></div><span class=""><font color="#888888"><br><br clear="all"><div><br></div>-- <br>best,<div>Eliot</div>
</font></span></div></div><span class=""><font color="#888888">
<br></font></span></blockquote></div><br></div><br><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>best,<div>Eliot</div>
</div></div>