From 22ebbab46201e2990c2692f691ccb5f7f1597748 Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Sat, 5 Dec 2020 21:27:49 +0100 Subject: [PATCH] autofree: set tmp var pos --- vlib/v/gen/fn.v | 1 + 1 file changed, 1 insertion(+) 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 = ' }