mirror of https://github.com/golang/go.git
Previously, (*IdentifierInfo).References was returning the declaration of the identifier among the reference results. This change alters the behavior of this function to only ever return non-declaration references. Declarations can be accessed through the IdentifierInfo.Declaration field. Fixes golang/go#36007 Change-Id: I91d82b7e6d0d51a2468d3df67f666834d2905250 Reviewed-on: https://go-review.googlesource.com/c/tools/+/210238 Run-TryBot: Rebecca Stambler <rstambler@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Heschi Kreinick <heschi@google.com> |
||
|---|---|---|
| .. | ||
| check.go | ||
| cmdtest.go | ||
| definition.go | ||
| folding_range.go | ||
| format.go | ||
| highlight.go | ||
| implementation.go | ||
| imports.go | ||
| links.go | ||
| references.go | ||
| rename.go | ||
| signature.go | ||
| suggested_fix.go | ||
| symbols.go | ||