x/tools/go/analysis/passes/nilness: detect nil-checking helpers #41135
Labels
FeatureRequest
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Tools
This label describes issues relating to any tools in the x/tools repository.
Milestone
As of
v0.0.0-20200828161849-5deb26317202
, thenilness
command doesn't seem to take into account nil-checking helpers, which are popular in e.g. small scripts. Consider:Full code. Currently,
nilness
reports line 22, but not line 37.The text was updated successfully, but these errors were encountered: