x/tools/go/analysis/passes/nilness: not report slice as non-nil #45177
Labels
Analysis
Issues related to static analysis (vet, x/tools/go/analysis)
FrozenDueToAge
NeedsFix
The path to resolution is known, but the work has not been done.
Tools
This label describes issues relating to any tools in the x/tools repository.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?linux amd64
go env
OutputWhat did you do?
I checked the following code by nilness
What did you expect to see?
I expected to detect comparison of non-nil and nil
What did you see instead?
not detect
The text was updated successfully, but these errors were encountered: