[squeak-dev] Parser question

Randal L. Schwartz merlyn at stonehenge.com
Sun Oct 26 15:26:19 UTC 2008


>>>>> "Igor" == Igor Stasenko <siguctua at gmail.com> writes:

Igor> Just wonder, if following is correct expression:
Igor> | t |
Igor> 1 + t := 5

It seems to me that that should be wrong, because to me the assignment
operation is very low precedence. And the binary message send would therefore
be out of place. If it wasn't illegal already, I'd argue to make it illegal,
as it would lead to misleading code.


-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn at stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion



More information about the Squeak-dev mailing list