Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.7-beta-1
-
Fix Version/s: 1.7-beta-1
-
Component/s: Groovy Console
-
Labels:None
-
Environment:WinXP, Groovy Trunk
-
Number of attachments :
Description
GroovyConsole AST Viewer does not display Parameter type fields of MethodNode entries. The parameter toString() shows up in the table but not in the tree view. This is a little useless. In practice, you need to look at the parameters and their values.
You can reproduce the defect with:
public String myMethod(String parameter = null) {
'some result'
}
The Parameter fields of a ClosureExpression are not displayed either.
A patch is coming in a matter of minutes.