diff --git a/vlib/v/ast/ast.v b/vlib/v/ast/ast.v index e1acd34b01..c188977521 100644 --- a/vlib/v/ast/ast.v +++ b/vlib/v/ast/ast.v @@ -370,6 +370,7 @@ pub mut: is_changed bool // to detect mutable vars that are never changed is_or bool // `x := foo() or { ... }` // (for setting the position after the or block for autofree) + is_tmp bool // for tmp for loop vars, so that autofree can skip them } // used for smartcasting only