MCPcopy Index your code
hub / github.com/coder/coder / funcLitCall

Function funcLitCall

scripts/intxcheck/analyzer.go:175–181  ·  view source on GitHub ↗
(call *ast.CallExpr)

Source from the content-addressed store, hash-verified

173}
174
175func funcLitCall(call *ast.CallExpr) (*ast.FuncLit, bool) {
176 funcLit, ok := unparen(call.Fun).(*ast.FuncLit)
177 if !ok {
178 return nil, false
179 }
180 return funcLit, true
181}
182
183func reportIfNotSuppressed(pass *analysis.Pass, suppressed map[int]bool, pos token.Pos, message string) {
184 if suppressedLine(pass.Fset, suppressed, pos) {

Callers 2

inspectInTxBodyFunction · 0.85
bodyUsesOuterStoreFunction · 0.85

Calls 1

unparenFunction · 0.85

Tested by

no test coverage detected