From 3e58160ea1ee7a6cac2b133f22cdaf683be65ced Mon Sep 17 00:00:00 2001 From: MichaelS11 Date: Mon, 18 May 2020 10:23:07 -0700 Subject: [PATCH] Add position to anonCallExpr --- vm/vmExprFunction.go | 1 + 1 file changed, 1 insertion(+) diff --git a/vm/vmExprFunction.go b/vm/vmExprFunction.go index 8ba94149..21cf6b5c 100644 --- a/vm/vmExprFunction.go +++ b/vm/vmExprFunction.go @@ -98,6 +98,7 @@ func (runInfo *runInfoStruct) anonCallExpr() { } runInfo.expr = &ast.CallExpr{Func: runInfo.rv, SubExprs: anonCallExpr.SubExprs, VarArg: anonCallExpr.VarArg, Go: anonCallExpr.Go} + runInfo.expr.SetPosition(anonCallExpr.Expr.Position()) runInfo.invokeExpr() }