mirror of
https://github.com/golang/go
synced 2024-11-18 18:54:42 -07:00
786dcba013
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> |
||
---|---|---|
.. | ||
test | ||
capabilities_test.go | ||
check.go | ||
cmd_test.go | ||
cmd.go | ||
definition.go | ||
export_test.go | ||
folding_range.go | ||
format.go | ||
highlight.go | ||
implementation.go | ||
imports.go | ||
info.go | ||
links.go | ||
query.go | ||
references.go | ||
rename.go | ||
serve.go | ||
signature.go | ||
suggested_fix.go | ||
symbols.go |