File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change 11* Added ` Struct ` support for ` Variant ` in ` ydb.ParamsBuilder() `
2+ * Added ` go ` with anonymous function case in ` gstack `
23
34## v3.61.2
45* Changed default transaction control to ` NoTx ` for execute query through query service client
Original file line number Diff line number Diff line change @@ -79,6 +79,12 @@ func getCallExpressionsFromStmt(statement ast.Stmt) (listOfCallExpressions []*as
7979 body = stmt .Body
8080 case * ast.ForStmt :
8181 body = stmt .Body
82+ case * ast.GoStmt :
83+ if fun , ok := stmt .Call .Fun .(* ast.FuncLit ); ok {
84+ listOfCallExpressions = append (listOfCallExpressions , getListOfCallExpressionsFromBlockStmt (fun .Body )... )
85+ } else {
86+ listOfCallExpressions = append (listOfCallExpressions , stmt .Call )
87+ }
8288 case * ast.RangeStmt :
8389 body = stmt .Body
8490 case * ast.DeclStmt :
You can’t perform that action at this time.
0 commit comments