which on its own is a bit surprising (a virtual "end"?), but the really unfortunate part is that the end of the parsed node is put on the first line, thus the second line is essentially said to be outside of the method (as any straightforward analyzer of the parse tree would conclude). Which makes things more difficult for indentation code.
Could we position the "virtual end" at the end of the file in this example?
The file contents like:
(
|
denotes the cursor)parse without error to structure
which on its own is a bit surprising (a virtual "end"?), but the really unfortunate part is that the end of the parsed node is put on the first line, thus the second line is essentially said to be outside of the method (as any straightforward analyzer of the parse tree would conclude). Which makes things more difficult for indentation code.
Could we position the "virtual end" at the end of the file in this example?