x/tools/cmd/guru: 'definition' cannot show declaration of a local object from a different go file #35842
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Tools
This label describes issues relating to any tools in the x/tools repository.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
The following is my testing package
files:
go.mod
a.go
bar.go
foo/b.go
Try to show declaration of selected identifier for
FooA
:Try to show declaration of selected identifier for
FooB
:Try to show declaration of selected identifier for
FooC
:What did you expect to see?
Show declaration
FooA
should give:What did you see instead?
The text was updated successfully, but these errors were encountered: