@Typed
class Test {
public static void main(String[] args) {
for (c in [1,2]) {
if (args) {
println 'hello'
} else {
println 'goodbye'
}
}
}
}
-------
Debug this code. Stop on a breakpoint on the first line (for). Step over it.
You should find yourself on 'if (args)', but highlighted is the line with
'else'. Similarly, breakpoints put on 'if' line are ignored. Doesn't happen in
plain Groovy
Original issue reported on code.google.com by gromop...@gmail.com on 13 Oct 2011 at 8:41
Original issue reported on code.google.com by
gromop...@gmail.com
on 13 Oct 2011 at 8:41