mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
gitly: fix compilation with -autofree
This commit is contained in:
parent
467dce6be6
commit
7c97b0b24d
@ -2442,7 +2442,7 @@ fn (mut g Gen) autofree_var_call(free_fn_name string, v ast.Var) {
|
||||
// if v.is_autofree_tmp && !g.doing_autofree_tmp {
|
||||
// return
|
||||
// }
|
||||
if v.name.contains('expr_write_1_') {
|
||||
if v.name.contains('expr_write_string_1_') {
|
||||
// TODO remove this temporary hack
|
||||
return
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user