Details
Description
I wonder if there's a clean way we can fix the parser to do this automatically (e.g. setting the previous CST nodes line number info if the line numbers are -1
Issue Links
- is depended upon by
-
GROOVY-259
unit test case to ensure that we always set line number information on all AST nodes
-
I'm thinking, once the parser overhaul is complete, about changing the CST stuff, either by generating the ASTs directly (still thinking on that issue), or by making more use of the interpretation flag I added to Token. Until then, I'm going to leave things as they are.