mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
ast: Var.is_tmp field
This commit is contained in:
parent
cd72c25edb
commit
b6ae81032f
@ -370,6 +370,7 @@ pub mut:
|
|||||||
is_changed bool // to detect mutable vars that are never changed
|
is_changed bool // to detect mutable vars that are never changed
|
||||||
is_or bool // `x := foo() or { ... }`
|
is_or bool // `x := foo() or { ... }`
|
||||||
// (for setting the position after the or block for autofree)
|
// (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
|
// used for smartcasting only
|
||||||
|
Loading…
Reference in New Issue
Block a user