[
https://issues.apache.org/jira/browse/GROOVY-11739?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18015835#comment-18015835
]
ASF GitHub Bot commented on GROOVY-11739:
-----------------------------------------
eric-milles opened a new pull request, #2280:
URL: https://github.com/apache/groovy/pull/2280
(no comment)
> 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
> Assignee: Eric Milles
> 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)