Skip to content

Commit 9401511

Browse files
committed
fixed incorrect func name
1 parent f8cb775 commit 9401511

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

internal/engine/ydb/convert.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3323,9 +3323,7 @@ func (c *cc) handleInvokeSuffix(base ast.Node, invokeCtx *parser.Invoke_exprCont
33233323
case *ast.FuncCall:
33243324
funcCall.Func = baseNode.Func
33253325

3326-
if c.isLambdaFunction(baseNode.Func.Name) {
3327-
funcCall.Func.Name = baseNode.Func.Name + "_call"
3328-
}
3326+
funcCall.Func.Name = baseNode.Func.Name + "_call"
33293327

33303328
funcCall.Funcname.Items = append(funcCall.Funcname.Items, &ast.String{Str: funcCall.Func.Name})
33313329
return funcCall

0 commit comments

Comments
 (0)