[ https://issues.apache.org/jira/browse/GROOVY-11739?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christopher Smith updated GROOVY-11739: --------------------------------------- Description: When the {{continue}} statement is included in a do...while loop, the loop conditional is not evaluated. {code} class Groovy11739 { static void main(String... args) { do { println "Hello" continue } while(false) } } {code} was:When the {{continue}} statement is included in a do...while loop, the loop conditional is not evaluated. > continue statement in do...while skips conditional > -------------------------------------------------- > > Key: GROOVY-11739 > URL: https://issues.apache.org/jira/browse/GROOVY-11739 > Project: Groovy > Issue Type: Bug > Components: Compiler > Affects Versions: 4.0.28 > Reporter: Christopher Smith > Priority: Major > > When the {{continue}} statement is included in a do...while loop, the loop > conditional is not evaluated. > {code} > class Groovy11739 { > static void main(String... args) { > do { > println "Hello" > continue > } while(false) > } > } > {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)