Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.7-beta-2
-
None
Description
def a = 1 def b = 2 def m1() {} def m2() {}
The ASTBrowser for the above script shows the BlockStatement containing free-standing statements of the script as well as the script ClassNode that groovy makes for it internally, but it does now show the methods m1() / m2() as part of the AST for the free-standing script.
I expected to see the following structure:
BlockStatement methods - m1 - m2 ClassNode - script5687897897