Issue 3827 in pharo: parser rejects sending a message to the result of yourself

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Issue 3827 in pharo: parser rejects sending a message to the result of yourself

pharo
Status: Accepted
Owner: [hidden email]

New issue 3827 by [hidden email]: parser rejects sending a message  
to the result of yourself
http://code.google.com/p/pharo/issues/detail?id=3827

Pharo image: dev
Pharo core version: Pharo-1.1.1-- Latest update: #11414
Virtual machine used: COG VM for Windows
Class browser used if applicable: OBSystemBrowserSteps to reproduce:

define this method in the browser

addTo: p
        ^ p add: self; yourself sort

and accept; you get

addTo: p
        ^ p add: self; yourself s End of block expected ->ort





Reply | Threaded
Open this post in threaded view
|

Re: Issue 3827 in pharo: parser rejects sending a message to the result of yourself

pharo

Comment #1 on issue 3827 by [hidden email]: parser rejects sending a  
message to the result of yourself
http://code.google.com/p/pharo/issues/detail?id=3827

I don't think this syntax is correct in any dialect.
Please use ( ).

^ (p add: self; yourself) sort



Reply | Threaded
Open this post in threaded view
|

Re: Issue 3827 in pharo: parser rejects sending a message to the result of yourself

pharo
Updates:
        Status: WontFix

Comment #2 on issue 3827 by [hidden email]: parser rejects sending a  
message to the result of yourself
http://code.google.com/p/pharo/issues/detail?id=3827

(No comment was entered for this change.)