x/tools/gopls: build constraints not respected for new files #37101
Labels
FrozenDueToAge
gopls
Issues related to the Go language server, gopls.
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.
Projects
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?
Starting with an empty module, create (and save) the following files in sequence:
What did you expect to see?
No diagnostic errors.
What did you see instead?
If you close and restart the editor (or indeed
gopls
) the diagnostics go away.cc @stamblerre
FYI @leitzler
The text was updated successfully, but these errors were encountered: