[ 
https://issues.apache.org/jira/browse/GROOVY-11739?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Daniel Sun resolved GROOVY-11739.
---------------------------------
    Fix Version/s: 3.0.26
                   4.0.29
                   5.0.1
       Resolution: Fixed

> 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
>             Fix For: 3.0.26, 4.0.29, 5.0.1
>
>
> 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)

Reply via email to