Tags: dominikh/go-tools
Tags
unused: don't track objects in other packages that use us When converting between two struct types, the fields use each other. However, we mustn't track the fields in a struct type from another package, as they should always be considered used, and we may end up creating nodes for them without ever recording uses. The old implementation of unused behaved correctly; we accidentally dropped a check. Closes gh-1360.