diff --git a/pkg/compiler/eval/eval.go b/pkg/compiler/eval/eval.go index d694f8d17..2d4aca054 100644 --- a/pkg/compiler/eval/eval.go +++ b/pkg/compiler/eval/eval.go @@ -252,6 +252,7 @@ func (e *evaluator) evalWhileStatement(node *ast.WhileStatement) *unwind { } else { // If it's not a continue or break, stash the unwind away and return it. uw = uws + break } } } else {