Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.5.6
-
None
Description
Parsing the following script
for(Object item in [1:1,2:2]) {}
gives the following results:
ForStatement: line = 1, column = 1, endLine = 1, endColumn = 33
---variable(Parameter): line = -1, column = -1, endLine = -1, endColumn = -1
---collectionExpression(MapExpression): line = 1, column = 20, endLine = 1, endColumn = 21
---loopBlock(BlockStatement): line = 1, column = 31, endLine = 1, endColumn = 33
Similar problem occurs for
for(Object item in [1,2]) {}