diff --git a/vlib/v/gen/fn.v b/vlib/v/gen/fn.v index a62168e035..f63d8d8bf0 100644 --- a/vlib/v/gen/fn.v +++ b/vlib/v/gen/fn.v @@ -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 = ' }