1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

more mutability fixes

This commit is contained in:
Alexander Medvednikov
2019-12-06 19:23:24 +03:00
parent e3b5d7fd7c
commit 55f32fc413
3 changed files with 4 additions and 3 deletions

View File

@ -258,6 +258,7 @@ fn (p mut Parser) if_statement(is_expr bool, elif_depth int) string {
name: var_name
typ: typ
is_mut: false // TODO
is_used: true // TODO
//is_alloc: p.is_alloc || typ.starts_with('array_')
//line_nr: p.tokens[ var_token_idx ].line_nr
//token_idx: var_token_idx