Eric Milles created GROOVY-12752:
------------------------------------

             Summary: write line for script block exit
                 Key: GROOVY-12752
                 URL: https://issues.apache.org/jira/browse/GROOVY-12752
             Project: Groovy
          Issue Type: Bug
            Reporter: Eric Milles
            Assignee: Eric Milles


Consider the following:
{code:groovy}
boolean flag = false
if (flag) {
  println 'x'
} // last line; should step here, not the line above
{code}

When this is the body of a script, the debugger still steps from "if (flag)" to 
"println" instead of stepping to the "}" line.  This is because the block 
statement for the script has no line number information.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to