diff --git a/pkg/eval/eval.go b/pkg/eval/eval.go index 75e0ef23e..7e4df5332 100644 --- a/pkg/eval/eval.go +++ b/pkg/eval/eval.go @@ -1058,7 +1058,7 @@ func (e *evaluator) evalLoop(condition *ast.Expression, body ast.Statement, post if uw := e.evalStatement(body); uw != nil { if uw.Continue() { contract.Assertf(uw.Label() == nil, "Labeled continue not yet supported") - continue + // continue through to evaluate the post expression } else if uw.Break() { contract.Assertf(uw.Label() == nil, "Labeled break not yet supported") break