x/tools/gopls: wrong package expected #38866
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
What did you do?
I had some test files (no errors) in a folder named
security
which erroneously all hadpackage namespaces
at the top. I changed these topackage security
to fit the folder name.What did you expect to see?
No error.
What did you see instead?
After this, gopls complains that the line
package security
is wrong, with:Restarting gopls is the only way to get rid of the error.
Log
gopls.log
Build info
Go info
The text was updated successfully, but these errors were encountered: