x/tools/gopls: cannot import public symbols defined behind build tags #38963
Labels
FrozenDueToAge
gopls
Issues related to the Go language server, gopls.
Tools
This label describes issues relating to any tools in the x/tools repository.
Milestone
Please answer these questions before submitting your issue. Thanks!
What did you do?
I created a proof of concept repo for this, https://github.com/perrito666/goplshatestags
I find this being reproduced on VSCode (the way I use gopls) I basically have a file inside a package that has a build tag
// +build unit
that declares public test helper functionsI added the tag to every possible configuration where it fits and the problem persists, I suspect gopls is at fault
I also suplied the log in https://github.com/perrito666/goplshatestags/blob/v0.1.1/goplslog.log
What did you expect to see?
At least "go to definition" of my functions defined behind tags
What did you see instead?
I think the actual error is:
Build info
Go info
The text was updated successfully, but these errors were encountered: