1
0
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:
Delyan Angelov 2021-02-22 17:00:48 +02:00
parent 467dce6be6
commit 7c97b0b24d
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED

View File

@ -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
}