Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.7-beta-1
-
None
-
WinXP, Groovy Head
Description
VariableExpression nodes have a field called accessedVariable. The field is of type ASTNode.
The GroovyConsole ASTViewer does not display this field in the tree pane, you can only see the toString form of the field in the table.
You can reproduce this by viewing the ast for this script:
foo = ""
Which creates a DynamicVariable in the VariableExpression's accessedVariable field.
A junit test case should be simple to create.