golang/go

x/tools/go/analysis/passes/bools: analyzer warning is not descriptive enough

Open

#61,157 opened on Jul 3, 2023

View on GitHub
 (4 comments) (0 reactions) (0 assignees)Go (19,008 forks)batch import
AnalysisNeedsInvestigationToolshelp wanted

Repository metrics

Stars
 (133,883 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

What did you do?

I have written code that triggers 'bools' analyzer warning

What did you expect to see?

Warning explains the issue

What did you see instead?

"Content: suspect or: rt != some_value || rt != another_value"

Contributor guide