Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.6.3
-
None
-
winxp groovy trunk
Description
NamedArgumentListExpression do not display in the AST Viewer of the groovy console.
You can reproduce this by viewing the ast for this script:
new String(foo: 'bar')
The ConstructorCallExpression#arguments field is a TupleExpression.
The TupleExpression#expressions field is a NamedArgumentListExpression
However, the tree pane collapses the NamedArgumentListExpression and all you see is the MapEntry objects underneath. You only see the NamedArgumentListExpression in the table view never the tree view.
A junit test case should be simple to create.