autofree: set tmp var pos
parent
946a1418fe
commit
22ebbab462
|
@ -654,6 +654,7 @@ fn (mut g Gen) autofree_call_pregen(node ast.CallExpr) {
|
||||||
name: t
|
name: t
|
||||||
typ: table.string_type
|
typ: table.string_type
|
||||||
is_autofree_tmp: true
|
is_autofree_tmp: true
|
||||||
|
pos: node.pos
|
||||||
})
|
})
|
||||||
s = 'string $t = '
|
s = 'string $t = '
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue