stephane ducasse wrote
> I'm puzzle too.

Thanks for taking a look. I got it to work by matching the source of the
whole method like this:
'| `@Temps |
attributes := OrderedCollection new.
(condition) ifTrue: [ attributes add: #zinc ] "My new statement here".
``@.Statements.'.

My naive guess is that if you try to modify more than a single node, you
must operate on the next biggest node...



--
View this message in context: 
http://forum.world.st/Adding-a-statement-when-rewriting-tp4668879p4668894.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.

Reply via email to