x/tools/gopls: build tags not working #51111
//go:build linux package pkgname ...
//go:build darwin package pkgname ...
package pkgname ...
What did you expect to see?
What did you see instead?
Editor and settings
The text was updated successfully, but these errors were encountered:
Hi, thanks for filing. Build tags are certainly a pain point with gopls, but I'm not sure I understand the expectation here.
Your GOOS is linux, not windows, which is why a file
Is there any workaround to resolve this issue?
I expect it to detect that pre-defined build constraints and not complain specifically about them. I have tried assigning