cmd/vet: flag unkeyed struct literals when a struct has two fields of the same type #9421
Labels
Analysis
Issues related to static analysis (vet, x/tools/go/analysis)
Milestone
Suggested in #9409.
Note that vet already flags all unkeyed composite struct literals when the type comes from a different package. This would extend checks to same-package types, but with more stringent criteria.
@bradfitz @alandonovan @shurcooL
The text was updated successfully, but these errors were encountered: