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

autofree: set tmp var pos

This commit is contained in:
Alexander Medvednikov 2020-12-05 21:27:49 +01:00
parent 946a1418fe
commit 22ebbab462

View File

@ -654,6 +654,7 @@ fn (mut g Gen) autofree_call_pregen(node ast.CallExpr) {
name: t
typ: table.string_type
is_autofree_tmp: true
pos: node.pos
})
s = 'string $t = '
}