As I recall, perl would suggest a mistep when it sensed an unterminated string. Never a false positive, an occasional false negative, often spot on for me. But as Frank mentions, in this case it may be too tricky to be worth the effort. <br>
<br><div class="gmail_quote">On Mon, Aug 8, 2011 at 1:44 AM, Frank Shearar <span dir="ltr">&lt;<a href="mailto:frank.shearar@gmail.com">frank.shearar@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div></div><div class="h5">On 8 August 2011 03:42, P. &lt;<a href="mailto:uploaded@gmail.com">uploaded@gmail.com</a>&gt; wrote:<br>
&gt; Hi folks,<br>
&gt;<br>
&gt; I&#39;m sending this email to both Squeak-dev and Pharo-project as you can see.<br>
&gt; This is to suggest a fix.<br>
&gt;<br>
&gt; I typed this on a workspace:<br>
&gt;<br>
&gt; closure := [:x | Transcript show: x].<br>
&gt; closure value: &quot;hey&quot;.<br>
&gt;<br>
&gt; And when I &quot;did it&quot;, the VM had me looking at this:<br>
&gt;<br>
&gt; closure := [:x | Transcript show: x].<br>
&gt; closure value: &quot;hey&quot;. Argument expected -&gt;<br>
&gt;<br>
&gt; Which is cryptic at best for a newbie.<br>
&gt; I visited #<a href="mailto:squeak@irc.freenode.net">squeak@irc.freenode.net</a> and asked there.<br>
&gt; Ken Causey helped me out and even he missed the difference between &quot;&quot; and &#39;&#39;<br>
&gt; for a second.<br>
&gt; I believe it would be beneficial to newbies to have this enhanced somehow,<br>
&gt; to point<br>
&gt; out the fact that strings aren&#39;t double-quoted.<br>
<br>
</div></div>Tricky, given that the error message is correct. After you strip out<br>
the comments, you have<br>
<br>
  closer value: .<br>
<br>
which is clearly not kosher.<br>
<br>
What kind of fix would work for you? I&#39;m just thinking that<br>
special-casing when you have a process part of a keyword message send<br>
followed by a comment is tricky:<br>
<br>
  this is: &quot;valid&quot; code<br>
<br>
for instance.<br>
<br>
frank<br>
<br>
&gt; Thanks,<br>
&gt;<br>
&gt; Peter<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
<br>
</blockquote></div><br><br clear="all"><br>-- <br>Gary Dunn<br>Honolulu<br>