Hello,

I'm working on code manipulation on Pharo using the AST.
Recently, I ported my code to Pharo 5 and some of my tests are not running
anymore.
Specifically, if I have a method as follows:

method
| variable |
variable := 'String'.

In Pharo 4, when I get the tree, I have a RBTemporaryNode representing the
declaration of the variable, and a RBVariableNode for the assignment at the
third line.

In Pharo 5, I have two RBVariableNode's for both cases. And when I call
#isTemp I get a MNU because the return of #binding is nil.

How can I now differentiate these two nodes in the example? Is this a bug
or a feature? :-P

Cheers,

-- 
Gustavo Santos

Reply via email to