- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for litStmts (0.09 sec)
-
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/loopclosure/loopclosure.go
var stmts []ast.Stmt switch s := last.(type) { case *ast.GoStmt: stmts = litStmts(s.Call.Fun) case *ast.DeferStmt: stmts = litStmts(s.Call.Fun) case *ast.ExprStmt: // check for errgroup.Group.Go if call, ok := s.X.(*ast.CallExpr); ok { stmts = litStmts(goInvoke(pass.TypesInfo, call)) } } for _, stmt := range stmts { reportCaptured(pass, vars, stmt)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 10.3K bytes - Viewed (0)