MCPcopy Create free account
hub / github.com/coder/coder / reportIfNotSuppressed

Function reportIfNotSuppressed

scripts/intxcheck/analyzer.go:183–192  ·  view source on GitHub ↗
(pass *analysis.Pass, suppressed map[int]bool, pos token.Pos, message string)

Source from the content-addressed store, hash-verified

181}
182
183func reportIfNotSuppressed(pass *analysis.Pass, suppressed map[int]bool, pos token.Pos, message string) {
184 if suppressedLine(pass.Fset, suppressed, pos) {
185 return
186 }
187
188 pass.Report(analysis.Diagnostic{
189 Pos: pos,
190 Message: message,
191 })
192}
193
194type misuseKind int
195

Callers 2

inspectInTxBodyFunction · 0.85
reportCallMisuseFunction · 0.85

Calls 2

suppressedLineFunction · 0.85
ReportMethod · 0.65

Tested by

no test coverage detected