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:
parent
946a1418fe
commit
22ebbab462
@ -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 = '
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user