golang.org/x/tools/go/analysis/passes/nilness
spurious "impossible/tautological condition" with cond := a != nil; if cond {...}; if cond { ... }Tools
#70381 opened 5 days ago by hut8
#68091 opened 5 months ago by RPGillespie6
#43301 opened 3 years ago by ainar-g
#32808 opened 5 years ago by ainar-g
#31008 opened 5 years ago by reillywatson